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

Method fillMB

kernels/geometry/object.h:54–62  ·  view source on GitHub ↗

! fill triangle from triangle list */

Source from the content-addressed store, hash-verified

52
53 /*! fill triangle from triangle list */
54 __forceinline LBBox3fa fillMB(const PrimRef* prims, size_t& i, size_t end, Scene* scene, size_t itime)
55 {
56 const PrimRef& prim = prims[i]; i++;
57 const unsigned geomID = prim.geomID();
58 const unsigned primID = prim.primID();
59 new (this) Object(geomID, primID);
60 AccelSet* accel = (AccelSet*) scene->get(geomID);
61 return accel->linearBounds(primID,itime);
62 }
63
64 /*! fill triangle from triangle list */
65 __forceinline LBBox3fa fillMB(const PrimRefMB* prims, size_t i, Scene* scene, const BBox1f time_range)

Callers

nothing calls this directly

Calls 4

geomIDMethod · 0.45
primIDMethod · 0.45
getMethod · 0.45
linearBoundsMethod · 0.45

Tested by

no test coverage detected