Members
-
Indicate if a point is inside a rectangle
-
Indicate if a point is inside a triangle
-
Indicate if min and max are overlapping
Methods
-
Get the orthogonal projection between two vectors
Name Type Description pTHREE.Vector2 The point to test p0number One of the point of the triangle p1number One of the point of the triangle p2number One of the point of the triangle Returns:
Type Description number -
Check collision between two OBB
Name Type Description shapeATHREE.Geometry First shape shapeBTHREE.Geometry Second shape Returns:
Type Description boolean -
Check the faces for OBB collision
Name Type Description shapesArray.<THREE.Face3> The faces to check verticesAArray.<THREE.Vector3> First vertices to check verticesBArray.<THREE.Vector3> Second vertices to check lAnumber The first vertices length lBnumber The second vertices length Returns:
Type Description boolean -
Check if vertices overlap on one of the faces normal
Name Type Description verticesAArray.<THREE.Vector3> First vertices to check verticesBArray.<THREE.Vector3> Second vertices to check lAnumber The first vertices length lBnumber The second vertices length normalVector3 The face normal Returns:
Type Description boolean