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 p
THREE.Vector2 The point to test p0
number One of the point of the triangle p1
number One of the point of the triangle p2
number One of the point of the triangle Returns:
Type Description number -
Check collision between two OBB
Name Type Description shapeA
THREE.Geometry First shape shapeB
THREE.Geometry Second shape Returns:
Type Description boolean -
Check the faces for OBB collision
Name Type Description shapes
Array.<THREE.Face3> The faces to check verticesA
Array.<THREE.Vector3> First vertices to check verticesB
Array.<THREE.Vector3> Second vertices to check lA
number The first vertices length lB
number The second vertices length Returns:
Type Description boolean -
Check if vertices overlap on one of the faces normal
Name Type Description verticesA
Array.<THREE.Vector3> First vertices to check verticesB
Array.<THREE.Vector3> Second vertices to check lA
number The first vertices length lB
number The second vertices length normal
Vector3 The face normal Returns:
Type Description boolean