prime/include/Kyoto/Math/CAABox.hpp
Luke Street f3e607a3af Renaming & more CActor progress
Former-commit-id: bcfefcc34ae220e5d4f7707c569473819f9f53a4
2022-08-15 22:14:28 -04:00

26 lines
509 B
C++

#ifndef __CAABOX_HPP__
#define __CAABOX_HPP__
#include "Kyoto/Math/CVector3f.hpp"
class CAABox {
public:
CAABox() {
// TODO
}
CAABox(const CVector3f& min, const CVector3f& max);// : min(min), max(max) {}
CAABox(const CAABox& other) : min(other.min), max(other.max) {}
CVector3f ClosestPointAlongVector(const CVector3f& vec) const;
static CAABox mskInvertedBox;
static CAABox mskNullBox;
private:
CVector3f min;
CVector3f max;
};
CHECK_SIZEOF(CAABox, 0x18)
#endif // __CAABOX_HPP__