2fa8963e0a
Conflicts: Escape-the-Dawn/AABB.h Escape-the-Dawn/Components/Bounds.h Escape-the-Dawn/Escape-the-Dawn.vcxproj Escape-the-Dawn/Escape-the-Dawn.vcxproj.filters
19 lines
370 B
C++
19 lines
370 B
C++
#ifndef Components_Bounds_h__
|
|
#define Components_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
|
|
};
|
|
|
|
}
|
|
#endif // !Components_Bounds_h__
|