! gets the bounds of the instanced scene */
| 75 | |
| 76 | /*! gets the bounds of the instanced scene */ |
| 77 | __forceinline BBox3fa getObjectBounds(size_t i, size_t itime) const { |
| 78 | if (!valid(i)) |
| 79 | return BBox3fa(); |
| 80 | |
| 81 | return getObject(i)->getBounds(timeStep(itime)); |
| 82 | } |
| 83 | |
| 84 | /*! calculates the bounds of instance */ |
| 85 | __forceinline BBox3fa bounds(size_t i, size_t itime) const { |