inochi2d.math.triangle

Undocumented in source.

Members

Functions

calcOffsetInTriangleCoords
vec2 calcOffsetInTriangleCoords(vec2 pt, MeshData bindingMesh, int[] triangle)
Undocumented in source. Be warned that the author may not have intended to support it.
findSurroundingTriangle
int[] findSurroundingTriangle(vec2 pt, MeshData bindingMesh)
Undocumented in source. Be warned that the author may not have intended to support it.
isPointInTriangle
bool isPointInTriangle(vec2 pt, vec2[3] triangle)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta