---
title: "mat3: type in Runtime, TypeShade API reference"
description: "mat3, a type in Runtime. mat3, the short spelling of mat3x3, the same type."
url: https://typeshade.dev/api/mat3/
language: en
---

# `mat3`

Type in Runtime

`mat3`, the short spelling of `mat3x3`, the same type.

`import type { mat3 } from 'typeshade/runtime'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
type mat3<T extends f32 | f64 = f32> = mat3x3<T>;
```

## See also

- [`mat3x3`](https://typeshade.dev/api/mat3x3/)

## Source

[`src/runtime/host-types.ts`, line 163](https://github.com/typeshade/typeshade/blob/af54ddad5/src/runtime/host-types.ts#L163), at commit af54ddad5
