Write once ray cast on triangle function

This commit is contained in:
Irlan
2019-05-13 16:23:05 -03:00
parent 3e5ff2257a
commit 31cac5aacd
4 changed files with 105 additions and 144 deletions

View File

@ -37,4 +37,8 @@ struct b3RayCastOutput
b3Vec3 normal; // surface normal of intersection
};
// Perform a ray-cast on a triangle.
bool b3RayCast(b3RayCastOutput* output, const b3RayCastInput* input,
const b3Vec3& v1, const b3Vec3& v2, const b3Vec3& v3);
#endif