simd_mul

Multiplies all of the vertices in a mesh with a given matrix. For larger meshes this operation is done with SIMD.

@nogc nothrow
void
simd_mul
(
ref vec2[] mesh
,
mat4 matrix
)

Parameters

mesh vec2[]

The mesh to apply the transformation of the matrix to.

matrix mat4

The matrix to apply.

Meta