Bounding sphere.
Definition sphere.h:15
The rendering engine.
Definition animhelper.h:3
int TestRayAgainstSphere(const Segment &ray, const Sphere &sphere, float *pflDistance)
Test a ray against a bounding sphere.
int TestRayAgainstTriangle(const Segment &ray, const TriangleTest &tri, int nCull, float *pflDistance)
Test a ray against one triangle.
Line segment a collision query is run along.
Definition collideable.h:22
Triangle prepared for one ray test.
Definition raytest.h:17
float mEdge1[4]
Definition raytest.h:19
float mEdge2[4]
Definition raytest.h:20
float mVertex[4]
Definition raytest.h:18
float mNormal[4]
Definition raytest.h:21