MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / isInFrustum

Method isInFrustum

Source/Basic/Director.cpp:543–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541}
542
543bool Director::isInFrustum(const AABB& aabb) const {
544 if (_viewProjs.empty()) return false;
545 return _viewProjs.top()->frustum.intersect(aabb);
546}
547
548bool Director::isFrustumCulling() const noexcept {
549 return _frustumCulling;

Callers 8

renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80

Calls 3

topMethod · 0.80
emptyMethod · 0.45
intersectMethod · 0.45

Tested by

no test coverage detected