d_t_mass_obj 99%

This commit is contained in:
lepelog
2025-12-13 01:23:37 +01:00
parent 62fc066b60
commit b017949c4b
15 changed files with 2003 additions and 63 deletions
+12
View File
@@ -158,6 +158,9 @@ public:
mVec3_c &getPosition() {
return mPosition;
}
mVec3_c const &getPosition() const {
return mPosition;
}
mAng3_c &getRotation() {
return mRotation;
}
@@ -166,6 +169,11 @@ public:
return mPosition - other.mPosition;
}
void getPostionDifferenceOut(const mVec3_c &other, mVec3_c& result) const {
mVec3_c diff = (other - mPosition);
result = diff;
}
f32 getHeightDifference(const dAcBase_c &b) const {
return mPosition.y - b.mPosition.y;
}
@@ -194,6 +202,10 @@ public:
return mRoomID == room;
}
void setRoomId(u32 room) {
mRoomID = room;
}
void unsetActorProperty(u32 property) {
mActorProperties &= ~property;
}