calculates the (correct) interpolated bounds */
| 36 | |
| 37 | /* calculates the (correct) interpolated bounds */ |
| 38 | __forceinline BBox3fa bounds(size_t i, size_t itime0, size_t itime1, float f) const |
| 39 | { |
| 40 | if (unlikely(gsubtype == GTY_SUBTYPE_INSTANCE_QUATERNION)) |
| 41 | return xfmBounds(slerp(l2w(i, itime0), l2w(i, itime1), f), |
| 42 | lerp(getObjectBounds(i, itime0), getObjectBounds(i, itime1), f)); |
| 43 | return xfmBounds(lerp(l2w(i, itime0), l2w(i, itime1), f), |
| 44 | lerp(getObjectBounds(i, itime0), getObjectBounds(i, itime1), f)); |
| 45 | } |
| 46 | |
| 47 | public: |
| 48 |
no test coverage detected