simd_offset

Offsets all of the coordinates in the given mesh with the given offset. For larger meshes, the offset is done with SIMD.

@nogc nothrow
void
simd_offset
(
ref vec2[] mesh
,
vec2 offset
)

Parameters

mesh vec2[]

The mesh to offset.

offset vec2

The offset to perform

Meta