Uses of Class
toxi.geom.Ray2D
-
Uses of Ray2D in toxi.geom
Modifier and TypeMethodDescriptionRay2D.setDirection
(ReadonlyVec2D d) Uses a normalized copy of the given vector as the ray direction.Ray2D.setNormalizedDirection
(ReadonlyVec2D d) Line2D.toRay2D()
Modifier and TypeMethodDescriptionboolean
CircleIntersector.intersectsRay
(Ray2D ray) boolean
Intersector2D.intersectsRay
(Ray2D ray) Check if entity intersects with the given rayRect.intersectsRay
(Ray2D ray, float minDist, float maxDist) Checks if the rectangle intersects with the given ray and if so computes the first intersection point. -
Uses of Ray2D in toxi.processing