Package toxi.geom
Class Ray3DIntersector
java.lang.Object
toxi.geom.Ray3DIntersector
- All Implemented Interfaces:
Intersector3D
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintersectsRay(Ray3D other) Checks if entity intersects with the given ray.
-
Field Details
-
ray
-
-
Constructor Details
-
Ray3DIntersector
-
-
Method Details
-
getIntersectionData
- Specified by:
getIntersectionDatain interfaceIntersector3D- Returns:
- intersection data parcel
-
intersectsRay
Description copied from interface:Intersector3DChecks if entity intersects with the given ray. Further intersection details can then be queried via theIsectData3Dinstance returned byIntersector3D.getIntersectionData().- Specified by:
intersectsRayin interfaceIntersector3D- Parameters:
other- ray to check- Returns:
- true, if ray hits the entity
-