five-on-it / apps/client/src/renderer/draw / triangleMesh
Function: triangleMesh()
triangleMesh(
scene,name,data):Mesh
Defined in: apps/client/src/renderer/draw.ts:75
A mesh of raw triangles (not pickable) that run counter-clockwise seen from outside, which in Babylon's terms is the counter-clockwise side orientation (its own meshes run the other way).
Parameters
scene
Scene
name
string
data
indices
IndicesArray
normals
FloatArray
positions
FloatArray
Returns
Mesh