Mat4 beta
TypeAlias of @v12-engine/render
ts
export type Mat4 = Float32Array;The renderer's matrices: 16 floats, the translation at 12..14, a point a row vector times the matrix. The layout the engine's world and the game's files use, and the one WGSL reads unchanged (mat4x4f of the four rows as its columns, m * v). Left-handed, depth 0 at the near plane and 1 at the far.