calculates the (correct) interpolated bounds */
| 35 | |
| 36 | /* calculates the (correct) interpolated bounds */ |
| 37 | __forceinline BBox3fa bounds(size_t itime0, size_t itime1, float f) const |
| 38 | { |
| 39 | if (unlikely(gsubtype == GTY_SUBTYPE_INSTANCE_QUATERNION)) |
| 40 | return xfmBounds(slerp(local2world[itime0], local2world[itime1], f), |
| 41 | lerp(getObjectBounds(itime0), getObjectBounds(itime1), f)); |
| 42 | return xfmBounds(lerp(local2world[itime0], local2world[itime1], f), |
| 43 | lerp(getObjectBounds(itime0), getObjectBounds(itime1), f)); |
| 44 | } |
| 45 | |
| 46 | public: |
| 47 | virtual void setNumTimeSteps (unsigned int numTimeSteps) override; |
no test coverage detected