repo: janusweb
action: commit
revision: 
path_from: 
revision_from: e5b275c3cf38d69e37b25582bf60c954703717e4:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit e5b275c3cf38d69e37b25582bf60c954703717e4
Author: James Baicoianu 
Date:   Tue Feb 1 00:19:44 2022 -0800

    Don't flip head

diff --git a/scripts/janusplayer.js b/scripts/janusplayer.js
index 29a425c533f5eb5f457ec66fc8559e826dec8b1a..
index ..7b23006b92df360ac981621b2733f4e6a35eb6a3 100644
--- a/scripts/janusplayer.js
+++ b/scripts/janusplayer.js
@@ -286,7 +286,7 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
           this.ghost.setHeadOrientation(this.head.orientation, true);
           if (this.ghost._target.head) {
             //this.ghost._target.face.position.copy(this.head.position);
-            this.ghost.head.orientation.copy(this.head.orientation).invert();
+            this.ghost.head.orientation.copy(this.head.orientation);
           }
         }
       }
@@ -373,7 +373,6 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
       if (this.head) {
         this.head.objects['3d'].matrixWorld.extractBasis(v.view_xdir, v.view_ydir, v.view_zdir);
         v.head_pos.setFromMatrixPosition(this.head.objects['3d'].matrixWorld);
-        v.view_zdir.negate();
       }

       if (this.gaze && this.gaze.object) {

-----END OF PAGE-----