Write once ray cast on triangle function
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user