Mat4Generated
Category: Types
A 4 by 4 Float matrix; see Mat2.
Syntax
Section titled “Syntax”Mat4Description
Section titled “Description”A 4 by 4 Float matrix; see Mat2.
Builtins that take this type
Section titled “Builtins that take this type”| Returns | Function | Category |
|---|---|---|
Float |
determinant(m: Mat4) |
math |
DMat4 |
double(x: Mat4) |
conversion |
Mat4 |
float(x: DMat4) |
conversion |
Mat4 |
inverse(m: Mat4) |
math |
Mat4 |
mat4(c0: Vec4, c1: Vec4, c2: Vec4, c3: Vec4) |
construction |
Mat4 |
mat4(diagonal: Float) |
construction |
Mat4 |
transpose(m: Mat4) |
math |

