MCPcopy Create free account
hub / github.com/OpenPathGuidingLibrary/openpgl / empty

Method empty

third-party/embreeSrc/common/math/bbox.h:43–43  ·  view source on GitHub ↗

! tests if box is empty */

Source from the content-addressed store, hash-verified

41
42 /*! tests if box is empty */
43 __forceinline bool empty() const { for (int i=0; i<T::N; i++) if (lower[i] > upper[i]) return true; return false; }
44
45 /*! computes the size of the box */
46 __forceinline T size() const { return upper - lower; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected