Skip to content

Commit

Permalink
Fix: Bricked scaling behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Glatzel committed Jun 22, 2017
1 parent 9330001 commit 9a824b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IntrinsicCore/src/IntrinsicCoreComponentsNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void NodeManager::updateTransforms(const NodeRefArray& p_Nodes)
glm::mat4 scale =
glm::scale(glm::mat4(1.0f), NodeManager::_worldSize(nodeRef));

_worldMatrix(nodeRef) = trans * scale * rot;
_worldMatrix(nodeRef) = trans * rot * scale;
_inverseWorldMatrix(nodeRef) = glm::inverse(_worldMatrix(nodeRef));

// Update AABB
Expand Down

0 comments on commit 9a824b4

Please sign in to comment.