mirror of
https://github.com/lubosz/overte.git
synced 2025-04-18 04:18:17 +02:00
CR indent fixes
This commit is contained in:
parent
b74be92fd8
commit
47e8e26255
1 changed files with 12 additions and 12 deletions
|
@ -1954,10 +1954,10 @@ SelectionDisplay = (function() {
|
|||
};
|
||||
|
||||
var onMove = function(event) {
|
||||
if (event.x === undefined || event.y === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.x === undefined || event.y === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
var proportional = (spaceMode === SPACE_WORLD) || directionEnum === STRETCH_DIRECTION.ALL;
|
||||
|
||||
var position, dimensions, rotation;
|
||||
|
@ -2081,35 +2081,35 @@ SelectionDisplay = (function() {
|
|||
var directionVector, offset, selectedHandle;
|
||||
if (directionEnum === SCALE_DIRECTION.LBN) {
|
||||
directionVector = { x:1, y:0, z:1 };
|
||||
offset = { x:-1, y:-1, z:-1 };
|
||||
offset = { x:-1, y:-1, z:-1 };
|
||||
selectedHandle = handleScaleLBNCube;
|
||||
} else if (directionEnum === SCALE_DIRECTION.RBN) {
|
||||
directionVector = { x:-1, y:0, z:1 };
|
||||
offset = { x:1, y:-1, z:-1 };
|
||||
offset = { x:1, y:-1, z:-1 };
|
||||
selectedHandle = handleScaleRBNCube;
|
||||
} else if (directionEnum === SCALE_DIRECTION.LBF) {
|
||||
directionVector = { x:1, y:0, z:-1 };
|
||||
offset = { x:-1, y:-1, z:1 };
|
||||
offset = { x:-1, y:-1, z:1 };
|
||||
selectedHandle = handleScaleLBFCube;
|
||||
} else if (directionEnum === SCALE_DIRECTION.RBF) {
|
||||
directionVector = { x:-1, y:0, z:-1 };
|
||||
offset = { x:1, y:-1, z:1 };
|
||||
offset = { x:1, y:-1, z:1 };
|
||||
selectedHandle = handleScaleRBFCube;
|
||||
} else if (directionEnum === SCALE_DIRECTION.LTN) {
|
||||
directionVector = { x:1, y:0, z:1 };
|
||||
offset = { x:-1, y:1, z:-1 };
|
||||
offset = { x:-1, y:1, z:-1 };
|
||||
selectedHandle = handleScaleLTNCube;
|
||||
} else if (directionEnum === SCALE_DIRECTION.RTN) {
|
||||
directionVector = { x:-1, y:0, z:1 };
|
||||
offset = { x:1, y:1, z:-1 };
|
||||
offset = { x:1, y:1, z:-1 };
|
||||
selectedHandle = handleScaleRTNCube;
|
||||
} else if (directionEnum === SCALE_DIRECTION.LTF) {
|
||||
directionVector = { x:1, y:0, z:-1 };
|
||||
offset = { x:-1, y:1, z:1 };
|
||||
offset = { x:-1, y:1, z:1 };
|
||||
selectedHandle = handleScaleLTFCube;
|
||||
} else if (directionEnum === SCALE_DIRECTION.RTF) {
|
||||
directionVector = { x:-1, y:0, z:-1 };
|
||||
offset = { x:1, y:1, z:1 };
|
||||
offset = { x:1, y:1, z:1 };
|
||||
selectedHandle = handleScaleRTFCube;
|
||||
}
|
||||
var tool = makeStretchTool(mode, STRETCH_DIRECTION.ALL, directionVector,
|
||||
|
|
Loading…
Reference in a new issue