| 123 | |
| 124 | template<typename Hit> |
| 125 | __forceinline void copyHitToRay(RayHit& ray, const Hit& hit) |
| 126 | { |
| 127 | ray.Ng = hit.Ng; |
| 128 | ray.u = hit.u; |
| 129 | ray.v = hit.v; |
| 130 | ray.primID = hit.primID; |
| 131 | ray.geomID = hit.geomID; |
| 132 | instance_id_stack::copy_UU(hit.instID, ray.instID); |
| 133 | #if defined(RTC_GEOMETRY_INSTANCE_ARRAY) |
| 134 | instance_id_stack::copy_UU(hit.instPrimID, ray.instPrimID); |
| 135 | #endif |
| 136 | } |
| 137 | |
| 138 | template<int K> |
| 139 | __forceinline void copyHitToRay(const vbool<K>& mask, RayHitK<K>& ray, const HitK<K>& hit) |
no test coverage detected