Added OpenAL
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user