triangulationWithFrame

fun triangulationWithFrame(triangulation: List<Triangle>, frame: Matrix44, flipNormals: Boolean = true, writer: VertexWriter)(source)

Writes a list of triangles transformed by the frame transformation matrix into writer.

Parameters

triangulation

the list of triangles to write

frame

a transformation matrix to apply to each triangle

flipNormals

generates inside-out geometry if true

writer

the vertex writer function