Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

Fix for normal vertices #7

Merged
merged 2 commits into from Sep 25, 2018
Merged

Fix for normal vertices #7

merged 2 commits into from Sep 25, 2018

Conversation

JRK80
Copy link
Contributor

@JRK80 JRK80 commented Sep 25, 2018

Created a transformation matrix without a translation component and applied it to the normal vertices, instead of the matrix aiM

…pplied it to the normal vertices, instead of the matrix aiM
src/AssimpLoader.cpp Show resolved Hide resolved
aiQuaternion rotation;
aiVector3D position;
aiVector3D scaling;
aiM.Decompose(scaling, rotation, position);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think just copying aiM and setting its translation to 0 should be enough

@paroj
Copy link
Member

paroj commented Sep 25, 2018

👍 thanks

@paroj paroj merged commit 37ef7ec into OGRECave:master Sep 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants