! calculates the build bounds of the i'th item, if it's valid */
| 89 | |
| 90 | /*! calculates the build bounds of the i'th item, if it's valid */ |
| 91 | __forceinline bool buildBounds(size_t i, BBox3fa* bbox = nullptr) const |
| 92 | { |
| 93 | assert(i==0); |
| 94 | const BBox3fa b = bounds(i); |
| 95 | if (bbox) *bbox = b; |
| 96 | return isvalid(b); |
| 97 | } |
| 98 | |
| 99 | /*! calculates the build bounds of the i'th item at the itime'th time segment, if it's valid */ |
| 100 | __forceinline bool buildBounds(size_t i, size_t itime, BBox3fa& bbox) const |