janusweb 1.5.37 → 1.5.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "janusweb",
3
3
  "description": "Web client for JanusVR worlds",
4
- "version": "1.5.37",
4
+ "version": "1.5.38",
5
5
  "main": "scripts/janusweb.js",
6
6
  "author": "James Baicoianu",
7
7
  "license": "MIT",
@@ -286,7 +286,7 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
286
286
  this.ghost.setHeadOrientation(this.head.orientation, true);
287
287
  if (this.ghost._target.head) {
288
288
  //this.ghost._target.face.position.copy(this.head.position);
289
- this.ghost.head.orientation.copy(this.head.orientation).invert();
289
+ this.ghost.head.orientation.copy(this.head.orientation);
290
290
  }
291
291
  }
292
292
  }
@@ -373,7 +373,6 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
373
373
  if (this.head) {
374
374
  this.head.objects['3d'].matrixWorld.extractBasis(v.view_xdir, v.view_ydir, v.view_zdir);
375
375
  v.head_pos.setFromMatrixPosition(this.head.objects['3d'].matrixWorld);
376
- v.view_zdir.negate();
377
376
  }
378
377
 
379
378
  if (this.gaze && this.gaze.object) {