faceCornerIndices MethodStatic

Return an array with indices of the corners of a face

  • face 0 has negative x normal
  • face 1 has positive x normal
  • face 2 has negative y normal
  • face 3 has positive y normal
  • face 4 has negative z normal
  • face 5 has positive z normal
  • Any other value returns face 5
  • faces are CCW as viewed from outside.

faceCornerIndices(index: number): number[]

Parameter Type Description
index number  

Returns - number[]

Defined in

Last Updated: 17 December, 2024