Merge branch 'master' of github.com:sippeangelo/Escape-the-Dawn
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
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef Bounds_h__
|
||||
#define Bounds_h__
|
||||
#ifndef Components_Bounds_h__
|
||||
#define Components_Bounds_h__
|
||||
|
||||
#include "Component.h"
|
||||
#include <glm/common.hpp>
|
||||
@@ -8,13 +8,12 @@
|
||||
namespace Components
|
||||
{
|
||||
|
||||
struct Bounds : Component
|
||||
{
|
||||
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__
|
||||
#endif // !Components_Bounds_h__
|
||||
Reference in New Issue
Block a user