MCPcopy Create free account
hub / github.com/RenderKit/embree / buildBounds

Method buildBounds

kernels/common/scene_instance.h:91–97  ·  view source on GitHub ↗

! calculates the build bounds of the i'th item, if it's valid */

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

boundsFunction · 0.50
isvalidFunction · 0.50
boundsMethod · 0.45

Tested by

no test coverage detected