Cogs.Core
OctBounds.h
1#pragma once
2#include "Scene/GetBounds.h"
3
4namespace Cogs
5{
6 namespace Core
7 {
8 namespace Volumetric
9 {
10 struct OctSystem;
11
12 struct OctBounds : public IGetBounds
13 {
14 OctSystem* octSystem;
15
16 void getBounds(Context * context, Cogs::Geometry::BoundingBox & bounds) override;
17 };
18
19 }
20 }
21}
A Context instance contains all the services, systems and runtime components needed to use Cogs.
Definition: Context.h:83
Contains all Cogs related functionality.
Definition: FieldSetter.h:23
void getBounds(Context *context, Cogs::Geometry::BoundingBox &bounds) override
Expand bounds including bounds of all entities in this system in world coordinates.
Definition: OctBounds.cpp:9