inochi2d.core.math.simd.mesh

Inochi2D Mesh SIMD Helpers

Members

Functions

simd_add
void simd_add(T[] lhs, T[] rhs)

Adds the values in the rhs mesh to the lhs mesh.

simd_broadcast_mesh
void simd_broadcast_mesh(VtxData[] mesh, vec2[] delta)

Broadcasts vertex data from the given delta mesh into the given VtxData mesh.

simd_deform
void simd_deform(vec2[] mesh, vec2[] deform)

Performs deformation on the delta mesh.

simd_meshcopy
void simd_meshcopy(T[] dst, T[] src)

Copies the data from the source buffer into the destination.

simd_mul
void simd_mul(T[] lhs, T[] rhs)

Multiplies the values in the rhs mesh with the lhs mesh.

simd_sub
void simd_sub(T[] lhs, T[] rhs)

Subtracts the values in the rhs mesh from the lhs mesh.

Meta

Authors

Luna Nielsen