mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 01:10:44 +02:00
CR
This commit is contained in:
parent
b9604fdb9d
commit
82c438a174
1 changed files with 3 additions and 3 deletions
|
@ -160,7 +160,7 @@ WebTablet = function (url, width, dpi, hand, clientOnly, location, visible) {
|
||||||
var homeButtonDim = 4.0 * tabletScaleFactor / 3.0;
|
var homeButtonDim = 4.0 * tabletScaleFactor / 3.0;
|
||||||
this.homeButtonID = Overlays.addOverlay("circle3d", {
|
this.homeButtonID = Overlays.addOverlay("circle3d", {
|
||||||
name: "homeButton",
|
name: "homeButton",
|
||||||
localPosition: { x: HOME_BUTTON_X_OFFSET, y: -HOME_BUTTON_Y_OFFSET, z: -WEB_ENTITY_Z_OFFSET },
|
localPosition: { x: HOME_BUTTON_X_OFFSET, y: -HOME_BUTTON_Y_OFFSET, z: -HOME_BUTTON_Z_OFFSET },
|
||||||
localRotation: { x: 0, y: 1, z: 0, w: 0},
|
localRotation: { x: 0, y: 1, z: 0, w: 0},
|
||||||
dimensions: { x: homeButtonDim, y: homeButtonDim, z: homeButtonDim },
|
dimensions: { x: homeButtonDim, y: homeButtonDim, z: homeButtonDim },
|
||||||
solid: true,
|
solid: true,
|
||||||
|
@ -173,7 +173,7 @@ WebTablet = function (url, width, dpi, hand, clientOnly, location, visible) {
|
||||||
|
|
||||||
this.homeButtonHighlightID = Overlays.addOverlay("circle3d", {
|
this.homeButtonHighlightID = Overlays.addOverlay("circle3d", {
|
||||||
name: "homeButtonHighlight",
|
name: "homeButtonHighlight",
|
||||||
localPosition: { x: HOME_BUTTON_X_OFFSET, y: -HOME_BUTTON_Y_OFFSET, z: -WEB_ENTITY_Z_OFFSET },
|
localPosition: { x: HOME_BUTTON_X_OFFSET, y: -HOME_BUTTON_Y_OFFSET, z: -HOME_BUTTON_Z_OFFSET },
|
||||||
localRotation: { x: 0, y: 1, z: 0, w: 0 },
|
localRotation: { x: 0, y: 1, z: 0, w: 0 },
|
||||||
dimensions: { x: homeButtonDim, y: homeButtonDim, z: homeButtonDim },
|
dimensions: { x: homeButtonDim, y: homeButtonDim, z: homeButtonDim },
|
||||||
color: { red: 255, green: 255, blue: 255 },
|
color: { red: 255, green: 255, blue: 255 },
|
||||||
|
@ -182,7 +182,7 @@ WebTablet = function (url, width, dpi, hand, clientOnly, location, visible) {
|
||||||
ignoreIntersection: true,
|
ignoreIntersection: true,
|
||||||
alpha: 1.0,
|
alpha: 1.0,
|
||||||
visible: visible,
|
visible: visible,
|
||||||
drawInFront: true,
|
drawInFront: false,
|
||||||
parentID: this.tabletEntityID,
|
parentID: this.tabletEntityID,
|
||||||
parentJointIndex: -1
|
parentJointIndex: -1
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue