roadblocks

This commit is contained in:
Nikolay Korolev
2020-05-30 20:08:31 +03:00
parent dd162c3aa0
commit 09c9e16cb1
7 changed files with 193 additions and 92 deletions

View File

@ -255,6 +255,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);
}
};