Fixed Node::Move taking local scale into account

Former-commit-id: ce7b2c086e141c8cfa9981838c9d695f997b3941
This commit is contained in:
Lynix 2015-01-17 00:34:37 +01:00
parent 3ed18e70da
commit 03b91575fb
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ NzNode& NzNode::Move(const NzVector3f& movement, nzCoordSys coordSys)
} }
case nzCoordSys_Local: case nzCoordSys_Local:
m_position += m_scale * (m_rotation * movement); m_position += m_rotation * movement;
break; break;
} }