Ray

Ray with starting and ending points

Constructors

this
this(Vector3f begin, Vector3f end)
Undocumented in source.

Members

Functions

intersectSphere
bool intersectSphere(Vector3f position, float radius, Vector3f intersectionPoint)
Undocumented in source. Be warned that the author may not have intended to support it.
intersectTriangle
bool intersectTriangle(Vector3f v0, Vector3f v1, Vector3f v2, Vector3f intersectionPoint)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

p0
Vector3f p0;
Undocumented in source.
p1
Vector3f p1;
Undocumented in source.
t
float t;
Undocumented in source.

Meta