janusweb 1.5.34 → 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
package/scripts/janusplayer.js
CHANGED
|
@@ -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)
|
|
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) {
|
|
@@ -491,7 +490,7 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
|
|
|
491
490
|
avatar_src: 'data:text/plain,' + encodeURIComponent(avatar),
|
|
492
491
|
showlabel: false,
|
|
493
492
|
//pos: V(0, -this.fatness, 0),
|
|
494
|
-
rotation: V(0, 180, 0),
|
|
493
|
+
//rotation: V(0, 180, 0),
|
|
495
494
|
renderorder: 101,
|
|
496
495
|
});
|
|
497
496
|
this.ghost.orientation.set(0,1,0,0);
|
|
@@ -655,7 +654,7 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
|
|
|
655
654
|
avatar_src: 'data:text/plain,' + encodeURIComponent(avatar),
|
|
656
655
|
showlabel: false,
|
|
657
656
|
//pos: V(0, -this.fatness, 0),
|
|
658
|
-
rotation: V(0, 180, 0),
|
|
657
|
+
//rotation: V(0, 180, 0),
|
|
659
658
|
renderorder: 101,
|
|
660
659
|
});
|
|
661
660
|
|
package/scripts/portal.js
CHANGED
|
@@ -3,7 +3,7 @@ elation.require(['janusweb.janusbase'], function() {
|
|
|
3
3
|
this.postinit = function() {
|
|
4
4
|
this.defineProperties({
|
|
5
5
|
'url': { type: 'string', set: this.updateTitle },
|
|
6
|
-
'title': { type: 'string' },
|
|
6
|
+
'title': { type: 'string', set: this.updateTitle },
|
|
7
7
|
'janus': { type: 'object' },
|
|
8
8
|
'room': { type: 'object' },
|
|
9
9
|
//'color': { type: 'color', default: new THREE.Color(0xffffff), set: this.updateMaterial },
|
|
@@ -11,7 +11,6 @@ elation.require(['janusweb.janusbase'], function() {
|
|
|
11
11
|
'open': { type: 'boolean', default: false },
|
|
12
12
|
'collision_id': { type: 'string', default: 'cube', set: this.updateCollider },
|
|
13
13
|
'collision_scale': { type: 'vector3', set: this.updateCollider },
|
|
14
|
-
'title': { type: 'string', set: this.updateTitle },
|
|
15
14
|
'seamless': { type: 'boolean', default: false },
|
|
16
15
|
'draw_text': { type: 'boolean', default: true, set: this.updateTitle },
|
|
17
16
|
'draw_glow': { type: 'boolean', default: true, refreshGeometry: true},
|
package/utils/init.sh
CHANGED