mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-12 02:08:15 +08:00
SetPosition, final part
This commit is contained in:
1 parent
131e8af174
commit
84c9484e55
20 files changed
+129
-143
No files matched your search
@@ -12,9 +12,9 @@ CPlaceable::~CPlaceable(void) = default;
|
||||
void
|
||||
CPlaceable::SetHeading(float angle)
|
||||
{
|
||||
CVector pos = GetPosition();
|
||||
CVector pos = GetMatrix().GetPosition();
|
||||
m_matrix.SetRotateZ(angle);
|
||||
GetPosition() += pos;
|
||||
GetMatrix().Translate(pos);
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in new issue
Block a user