Files
escape-the-dawn/Escape-the-Dawn/Components/Bounds.h
T
2014-03-07 19:14:38 +01:00

20 lines
379 B
C++

#ifndef Bounds_h__
#define Bounds_h__
#include "Component.h"
#include <glm/common.hpp>
namespace Components
{
struct Bounds : Component
{
//Axis Aligned Bounding Box
glm::vec3 origin;
glm::vec3 volumeVector; //The vector that defines the volume of the BB, it goes from one corner to the opposite one
};
REGISTER_COMPONENT("Bounds", Bounds);
}
#endif // !Bounds_h__