This commit is contained in:
Lynix 2019-12-13 17:25:00 +01:00
parent 3760c8b5c4
commit 7e6dcdf740
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ namespace Nz
if (!m_derivedUpdated)
UpdateDerived();
return (m_derivedScale, m_derivedRotation.GetConjugate()*(globalPosition - m_derivedPosition))/m_derivedScale;
return m_derivedRotation.GetConjugate()*(globalPosition - m_derivedPosition)/m_derivedScale;
}
Quaternionf Node::ToLocalRotation(const Quaternionf& globalRotation) const