Added OpenAL

This commit is contained in:
Adam
2014-03-07 19:14:38 +01:00
parent 18197bf21d
commit 566a5c2d93
23 changed files with 6180 additions and 75 deletions
+5 -2
View File
@@ -2,14 +2,17 @@
#define Bounds_h__
#include "Component.h"
#include "AABB.h"
#include <glm/common.hpp>
namespace Components
{
struct Bounds : Component
{
AABB BB; //Axis Aligned Bounding Box
//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);