fixing rotation

This commit is contained in:
Dante Ruiz 2018-06-08 11:50:52 -07:00
parent 8c83bd29a3
commit dfea4a0f7c

View file

@ -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, {