Skip to content

five-on-it / apps/client/src/renderer/models / appendMesh

Function: appendMesh() ​

appendMesh(into, mesh, matrix): void

Defined in: apps/client/src/renderer/models.ts:471

Appends a mesh's triangles to into, carried by matrix (its vertices into the merged frame, its normals by the matrix's inverse transpose); a matrix that mirrors turns the triangles' winding back, so the same faces stay in front.

Parameters ​

into ​

Merged

mesh ​

AbstractMesh

matrix ​

Matrix

Returns ​

void