# Matrix3

`import { Matrix3 } from "destack:math";`

Three-by-three matrix in row-major field order.

```ds title="Matrix3"
export struct Matrix3<T: Numeric> {
    x: Vector3<T>;
    y: Vector3<T>;
    z: Vector3<T>;
}
```

[language/library/src/math/matrix.ds:23:32](https://github.com/destack-sh/destack/blob/main/language/library/src/math/matrix.ds#L23-L32)

## Members

### `x: Vector3<T>`

First row.

### `y: Vector3<T>`

Second row.

### `z: Vector3<T>`

Third row.
