mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-01 05:09:39 +00:00
Merge remote-tracking branch 'xethik/master'
This commit is contained in:
commit
5aa8c03461
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ void Node::getProperties(const Nif::NiTexturingProperty *&texprop,
|
||||||
|
|
||||||
Ogre::Matrix4 Node::getLocalTransform() const
|
Ogre::Matrix4 Node::getLocalTransform() const
|
||||||
{
|
{
|
||||||
Ogre::Matrix4 mat4(Ogre::Matrix4::IDENTITY);
|
Ogre::Matrix4 mat4 = Ogre::Matrix4(Ogre::Matrix4::IDENTITY);
|
||||||
mat4.makeTransform(trafo.pos, Ogre::Vector3(trafo.scale), Ogre::Quaternion(trafo.rotation));
|
mat4.makeTransform(trafo.pos, Ogre::Vector3(trafo.scale), Ogre::Quaternion(trafo.rotation));
|
||||||
return mat4;
|
return mat4;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue