Saga
Saga Game Engine
Loading...
Searching...
No Matches
collisionSystemData.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace Saga {
7
15 std::optional<BoundingVolumeHierarchy> bvh;
16 std::optional<UniformGrid<Entity>> uniformGrid;
17};
18
19}
Definition: app.cpp:8
Manages data that the collision system uses. This lives in runtime on an empty entity.
Definition: collisionSystemData.h:14
std::optional< UniformGrid< Entity > > uniformGrid
the uniform grids used in optimizing dynamic-dynamic collisions.
Definition: collisionSystemData.h:16
std::optional< BoundingVolumeHierarchy > bvh
the bounding volume hierarchy of triangles of static objectts.
Definition: collisionSystemData.h:15