mirror of
https://github.com/overte-org/overte.git
synced 2025-04-07 17:52:26 +02:00
fixing rotation
This commit is contained in:
parent
8c83bd29a3
commit
dfea4a0f7c
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ WebTablet.prototype.setLandscape = function(newLandscapeValue) {
|
|||
var tabletHeight = TABLET_NATURAL_DIMENSIONS.y * tabletScaleFactor;
|
||||
var screenWidth = 0.9275 * tabletWidth;
|
||||
var screenHeight = 0.8983 * tabletHeight;
|
||||
var webLandScapeRotation = Quat.multiply(Quat.angleAxis(0.5, X_AXIS), Quat.angleAxis(-0.5, Y_AXIS));
|
||||
var webLandScapeRotation = Quat.multiply(Quat.angleAxis(0.2, X_AXIS), Quat.angleAxis(-0.5, Y_AXIS));
|
||||
var webRegularRotation = Quat.angleAxis(0.5, X_AXIS);
|
||||
var webRotationOffset = this.landscape ? webLandScapeRotation : webRegularRotation;
|
||||
Overlays.editOverlay(this.webOverlayID, {
|
||||
|
|
Loading…
Reference in a new issue