20 #ifndef __OPC_RAYCOLLIDER_H__
21 #define __OPC_RAYCOLLIDER_H__
52 #ifdef OPC_RAYHIT_CALLBACK
89 #ifndef OPC_RAYHIT_CALLBACK
98 inline_ void SetClosestHit(
bool flag) { mClosestHit = flag; }
109 inline_ void SetCulling(
bool flag) { mCulling = flag; }
123 #ifdef OPC_RAYHIT_CALLBACK
125 inline_ void SetUserData(
void* user_data) { mUserData = user_data; }
146 inline_ udword GetNbRayBVTests()
const {
return mNbRayBVTests; }
156 inline_ udword GetNbRayPrimTests()
const {
return mNbRayPrimTests; }
167 inline_ udword GetNbIntersections()
const {
return mNbIntersections; }
186 #ifdef OPC_RAYHIT_CALLBACK
202 #ifndef OPC_RAYHIT_CALLBACK
225 #endif // __OPC_RAYCOLLIDER_H__