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

Method getObjectBounds

kernels/common/scene_instance_array.h:77–82  ·  view source on GitHub ↗

! gets the bounds of the instanced scene */

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 3

getBoundsMethod · 0.80
validFunction · 0.70
timeStepFunction · 0.70

Tested by

no test coverage detected