fixes to CBoat

This commit is contained in:
aap
2020-07-01 18:03:52 +02:00
parent a1356f1001
commit 575f35f2c4
4 changed files with 48 additions and 39 deletions

View File

@ -259,6 +259,14 @@ public:
m_matrix.at.y = 0.0f;
m_matrix.at.z = 1.0f;
}
void SetTranslateOnly(float x, float y, float z) {
m_matrix.pos.x = x;
m_matrix.pos.y = y;
m_matrix.pos.z = z;
}
void SetTranslateOnly(const CVector& pos) {
SetTranslateOnly(pos.x, pos.y, pos.z);
}
};