Add CAABox::skNullBox

This commit is contained in:
Jack Andersen 2016-04-16 11:49:09 -10:00
parent cfc5d55419
commit 954978454b
3 changed files with 11 additions and 2 deletions

View File

@ -40,6 +40,7 @@ public:
}; };
static const CAABox skInvertedBox; static const CAABox skInvertedBox;
static const CAABox skNullBox;
CVector3f m_min; CVector3f m_min;
CVector3f m_max; CVector3f m_max;

View File

@ -1,2 +1,10 @@
#include "zeus/CAABox.hpp" #include "zeus/CAABox.hpp"
const zeus::CAABox zeus::CAABox::skInvertedBox = CAABox(); #include "zeus/CVector3f.hpp"
namespace zeus
{
const CAABox CAABox::skInvertedBox = CAABox();
const CAABox CAABox::skNullBox = CAABox(CVector3f::skZero, CVector3f::skZero);
}

View File

@ -3,7 +3,7 @@
namespace zeus namespace zeus
{ {
CQuaternion const CQuaternion::skNoRotation; const CQuaternion CQuaternion::skNoRotation;
void CQuaternion::fromVector3f(const CVector3f& vec) void CQuaternion::fromVector3f(const CVector3f& vec)
{ {