1#ifndef ULT_MATH_OBB_H_INCLUDED
2#define ULT_MATH_OBB_H_INCLUDED
73 if (index == 0) {
return mAxis1; }
74 if (index == 1) {
return mAxis2; }
113 if (index == 0) {
return mAxis1; }
114 if (index == 1) {
return mAxis2; }
Definition BoundingBox.h:18
Definition Matrix4x4.h:14
Vector3D GetAxis1() const
Definition OBB.h:106
void SetHalfAxis1(const float val)
Definition OBB.h:99
void SetAxis3(const Vector3D &axis)
Definition OBB.h:122
void SetAxis1(const Vector3D &axis)
Definition OBB.h:118
void ProjectionInterval(const Vector3D &axis, float ¢er, float &ext, float &min, float &max)
Definition OBB.cpp:90
void SetHalfAxis3(const float val)
Definition OBB.h:103
OBB()
Definition OBB.cpp:7
float mHalfAxis2
Definition OBB.h:127
Vector3D GetAxis3() const
Definition OBB.h:110
float GetHalfAxis(const int index) const
Definition OBB.h:93
unsigned int GetSupport(const Vector3D &axis, Vector3D *contacts)
Definition OBB.cpp:106
Vector3D GetEdgeDirection(const int index) const
Definition OBB.h:77
float GetHalfAxis2() const
Definition OBB.h:89
Vector3D GetCenterPos() const
Definition OBB.h:82
Vector3D mAxis2
Definition OBB.h:129
void SetCenter(const Vector3D ¢er)
Definition OBB.h:84
float GetHalfAxis3() const
Definition OBB.h:91
float mHalfAxis1
Definition OBB.h:127
void SetAxis2(const Vector3D &axis)
Definition OBB.h:120
Vector3D GetFaceNormal(const int index) const
Definition OBB.h:72
Vector3D GetAxis(const int index) const
Definition OBB.h:112
float mHalfAxis3
Definition OBB.h:127
Vector3D mAxis1
Definition OBB.h:129
void SetHalfAxis2(const float val)
Definition OBB.h:101
Vector3D mCenter
Definition OBB.h:125
Vector3D mAxis3
Definition OBB.h:129
void ObjectTransform(const OBB &obb, const Matrix4x4 &mat)
Definition OBB.cpp:69
void Transform(const OBB &obb, const Matrix4x4 &mat)
Definition OBB.cpp:51
void Calculate(const Vector3D *vertices, const int numVerts)
Definition OBB.cpp:33
Vector3D GetAxis2() const
Definition OBB.h:108
float GetHalfAxis1() const
Definition OBB.h:87