Begin CBallCamera & more headers

Former-commit-id: 21f597aeb7
This commit is contained in:
2022-09-21 01:18:07 -04:00
parent 57bb02906e
commit 9637b6f796
23 changed files with 981 additions and 140 deletions

View File

@@ -5,20 +5,31 @@
class CAABox {
public:
CAABox() {
// TODO
}
// CAABox() {
// // TODO
// }
CAABox(const CVector3f& min, const CVector3f& max); // : min(min), max(max) {}
CAABox(const CAABox& other) : min(other.min), max(other.max) {}
// CAABox(const CAABox& other)
// : minX(other.minX)
// , minY(other.minY)
// , minZ(other.minZ)
// , maxX(other.maxX)
// , maxY(other.maxY)
// , maxZ(other.maxZ) {}
CAABox& operator=(const CAABox&);
CVector3f ClosestPointAlongVector(const CVector3f& vec) const;
static CAABox mskInvertedBox;
static CAABox mskNullBox;
static const CAABox& Identity() { return mskNullBox; }
static const CAABox& MakeMaxInvertedBox() { return mskInvertedBox; }
private:
CVector3f min;
CVector3f max;
f32 minX, minY, minZ;
f32 maxX, maxY, maxZ;
static CAABox mskInvertedBox;
static CAABox mskNullBox;
};
CHECK_SIZEOF(CAABox, 0x18)