Optionala: Vector3Optionalb: Vector3Optionalc: Vector3ReadonlydegenerateReadonlyisSet after moving a, b or c; the queries then call updateExtendedTriangle first.
ReadonlyplaneReadonlypoints[a, b, c].
ReadonlysatThe face normal, then the edges a - b, b - c, c - a.
ReadonlysatThe corners' interval along each of satAxes.
Distance to the segment; target1 / target2 get the closest points on the triangle / the segment.
Distance to the triangle; target1 / target2 get the closest points on this one / the other.
Whether the triangles intersect; target gets the intersection segment (zero for coplanar ones, with a warning unless suppressLog).
three-mesh-bvh's
ExtendedTriangle: a threeTrianglewith cached separating axes, plane and degeneracy. SetneedsUpdateafter movinga,borc(setandcopydo; three's inheritedsetFromPointsAndIndicesandsetFromAttributeAndIndicesdon't, as in three-mesh-bvh).