46class SceneRenderState;
70 const QuadtreeNode_uptr&
getRoot() const noexcept {
return _root; }
Rough around the edges Adapter pattern abstracting the actual rendering API and access to the GPU.
const QuadtreeNode_uptr & getRoot() const noexcept
void build(const BoundingBox &terrainBBox, const vec2< U16 > HMSize, Terrain *terrain)
void toggleBoundingBoxes()
PROPERTY_R_IW(U32, targetChunkDimension, 0u)
U32 getChunkCount() const noexcept
QuadtreeNode * findLeaf(vec2< F32 > pos) const noexcept
const BoundingBox & computeBoundingBox() const
void drawBBox(GFXDevice &context) const
Handle console commands that start with a forward slash.