mirror of
https://github.com/zeldaret/ss
synced 2026-07-11 06:45:20 -04:00
d_t_mass_obj 99%
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user