CPlayer header, more CScriptPlatform, renaming

Former-commit-id: 5d9f7afa3b
This commit is contained in:
2022-09-19 00:19:46 -04:00
parent f6f1040fff
commit b32c6018e8
33 changed files with 674 additions and 63 deletions

View File

@@ -52,7 +52,7 @@ public:
// f32 operator[](int i) const { return *(&mX + i); }
bool IsNonZero() const { return mX != 0.f || mY != 0.f || mZ != 0.f; }
void DropZ() { mZ = 0.f; }
CVector3f DropZ() const { return CVector3f(mX, mY, 0.f); }
CVector3f& operator+=(const CVector3f& other) {
mX += other.mX;