Ocular Engine
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
Bounds.hpp
1
17
#pragma once
18
#ifndef __H__OCULAR_MATH_BOUNDS__H__
19
#define __H__OCULAR_MATH_BOUNDS__H__
20
21
//------------------------------------------------------------------------------------------
22
27
namespace
Ocular
28
{
33
namespace
Math
34
{
35
enum
BoundsType
36
{
37
AABB = 0,
38
OBB,
39
Sphere
40
};
41
45
class
Bounds
46
{
47
public
:
48
49
BoundsType getType()
const
;
50
51
bool
isVisible()
const
;
52
void
setVisible(
bool
visible);
53
54
protected
:
55
56
Bounds
(BoundsType
const
type);
57
58
bool
m_Visible;
59
BoundsType m_Type;
60
61
private
:
62
};
63
}
67
}
72
//------------------------------------------------------------------------------------------
73
74
#endif
Ocular
Note: Once this library is made dynamic, this will no longer be needed.
Definition:
Common.hpp:70
Ocular::Math::Bounds
Definition:
Bounds.hpp:45
OcularCore
include
Math
Bounds
Bounds.hpp
Generated on Tue Oct 18 2016 01:28:56 for Ocular Engine by
1.8.10