janusweb 1.5.35 → 1.5.39

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.35",
4
+ "version": "1.5.39",
5
5
  "main": "scripts/janusweb.js",
6
6
  "author": "James Baicoianu",
7
7
  "license": "MIT",
@@ -283,10 +283,10 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
283
283
  }
284
284
  }
285
285
  if (this.ghost && !this.decouplehead) {
286
- this.ghost.setHeadOrientation(this.head.orientation, true);
286
+ this.ghost.setHeadOrientation(this.head.orientation);
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) {
package/utils/init.sh CHANGED
@@ -32,6 +32,6 @@ if [ ! -d elation ]; then
32
32
 
33
33
  cd ..
34
34
  ./elation web init
35
- ./elation component enable elation engine physics share elements janusweb ui utils
35
+ ./elation component enable elation engine physics share elements janusweb utils
36
36
  fi
37
37
  echo "done"