| 50 | } |
| 51 | |
| 52 | inline void popInstanceId(RTCRayQueryContext* ctx) |
| 53 | { |
| 54 | #if RTC_MAX_INSTANCE_LEVEL_COUNT > 1 |
| 55 | ctx->instID[--ctx->instStackSize] = RTC_INVALID_GEOMETRY_ID; |
| 56 | #else |
| 57 | ctx->instID[0] = RTC_INVALID_GEOMETRY_ID; |
| 58 | #endif |
| 59 | } |
| 60 | |
| 61 | inline void copyInstanceIdStack(const RTCRayQueryContext* ctx, unsigned* tgt) |
| 62 | { |
no outgoing calls
no test coverage detected