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

Method intersect

common/math/bbox.h:60–62  ·  view source on GitHub ↗

! intersects two boxes */

Source from the content-addressed store, hash-verified

58
59 /*! intersects two boxes */
60 __forceinline static const BBox intersect (const BBox& a, const BBox& b) {
61 return BBox(max(a.lower, b.lower), min(a.upper, b.upper));
62 }
63
64 /*! enlarge box by some scaling factor */
65 __forceinline BBox enlarge_by(const float a) const {

Callers 1

partitionFunction · 0.45

Calls 3

BBoxClass · 0.85
maxFunction · 0.70
minFunction · 0.70

Tested by

no test coverage detected