mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-10 13:47:42 +00:00
Halfway match CAABox; continue CBallCamera
Former-commit-id: 602109d8f0
This commit is contained in:
@@ -3,15 +3,24 @@
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#include "Kyoto/Math/CVector3f.hpp"
|
||||
|
||||
class CPlane {
|
||||
public:
|
||||
CPlane(const CVector3f&, const CUnitVector3f&); // TODO weak
|
||||
CPlane(float, const CUnitVector3f&); // TODO weak
|
||||
CPlane(const CVector3f&, const CVector3f&, const CVector3f&);
|
||||
// TODO
|
||||
|
||||
const CUnitVector3f& GetNormal() const { return x0_normal; }
|
||||
f32 GetConstant() const { return xc_constant; }
|
||||
// GetHeight__6CPlaneCFRC9CVector3f
|
||||
// IsFacing__6CPlaneCFRC9CVector3f
|
||||
// ClipLineSegment__6CPlaneCFRC9CVector3fRC9CVector3f
|
||||
|
||||
private:
|
||||
f32 x;
|
||||
f32 y;
|
||||
f32 z;
|
||||
f32 w;
|
||||
CUnitVector3f x0_normal;
|
||||
f32 xc_constant;
|
||||
};
|
||||
CHECK_SIZEOF(CPlane, 0x10)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user