Triangular mesh face type, storing vertices as indices. Maps to native fixed-length array in target language

Methods

@:impl@:arrayAccessinlineget(i:Int):Int

Get vertex in the face via subscript [0] [1] [2]

Parameters:

i

the index

@:implinlineindexOf(v:Int):Int

Search for a vertex in the face

Parameters:

v

the vertex to look for (vertex index in the mesh)

Returns:

index of the vertex in the face, -1 if not found

@:impl@:arrayAccessinlineset(i:Int, v:Int):Int

Set vertex in the face via subscript [0] [1] [2]

Parameters:

i

the index

v

the value