Entity properties using boost::any. You'll need Boost now.

This commit is contained in:
2014-03-09 19:05:57 +01:00
parent c952953787
commit 34889b3b0e
5 changed files with 44 additions and 9 deletions
+3 -4
View File
@@ -4,15 +4,14 @@
#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
//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
};
}