GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CollisionShapeManager.hpp
Go to the documentation of this file.
1 #ifndef RADIX_COLLISION_SHAPE_MANAGER_HPP
2 #define RADIX_COLLISION_SHAPE_MANAGER_HPP
3 
5 #include <radix/Entity.hpp>
6 
7 namespace radix {
8 
10 public:
11  BoxCollider();
12  BoxCollider(const Vector3f &position, const Vector3f &size);
13  bool collidesWith(const BoxCollider &collider) const;
14  static BoxCollider generateCage(const Entity &entity);
15 
18 };
19 
20 } /* namespace radix */
21 
22 #endif /* RADIX_COLLISION_SHAPE_MANAGER_HPP */
static BoxCollider generateCage(const Entity &entity)
Vector3f position
Definition: CollisionShapeManager.hpp:16
Definition: GameController.hpp:7
Definition: CollisionShapeManager.hpp:9
ECS entity, Component container It is created like this:
Definition: Entity.hpp:23
bool collidesWith(const BoxCollider &collider) const
Vector3f size
Definition: CollisionShapeManager.hpp:17
3-dimensional float-based vector/point storage and manipulation struct
Definition: Vector3f.hpp:27