mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
Removed negation of front vector which was reversing yaw in avatar skeleton.
This commit is contained in:
parent
daac59d64e
commit
5443d80c6f
1 changed files with 1 additions and 1 deletions
|
@ -1026,7 +1026,7 @@ void Head::updateSkeleton() {
|
|||
|
||||
float xx = glm::dot( _bone[b].defaultPosePosition, _bone[b].orientation.getRight () );
|
||||
float yy = glm::dot( _bone[b].defaultPosePosition, _bone[b].orientation.getUp () );
|
||||
float zz = -glm::dot( _bone[b].defaultPosePosition, _bone[b].orientation.getFront () );
|
||||
float zz = glm::dot( _bone[b].defaultPosePosition, _bone[b].orientation.getFront () );
|
||||
|
||||
glm::vec3 rotatedBoneVector( xx, yy, zz );
|
||||
|
||||
|
|
Loading…
Reference in a new issue