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

Method linearBounds

kernels/common/scene_instance_array.h:95–101  ·  view source on GitHub ↗

! calculates the linear bounds of the i'th primitive for the specified time range */

Source from the content-addressed store, hash-verified

93
94 /*! calculates the linear bounds of the i'th primitive for the specified time range */
95 __forceinline LBBox3fa linearBounds(size_t i, const BBox1f& dt) const {
96 if (!valid(i))
97 return LBBox3fa();
98
99 LBBox3fa lbbox = nonlinearBounds(i, dt, time_range, fnumTimeSegments);
100 return lbbox;
101 }
102
103 /*! calculates the build bounds of the i'th item, if it's valid */
104 __forceinline bool buildBounds(size_t i, BBox3fa* bbox = nullptr) const

Callers

nothing calls this directly

Calls 1

validFunction · 0.70

Tested by

no test coverage detected