mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 21:57:00 +02:00
Fix Code Standard
Fix indent lines 2799-2800 Fix one line that had more than 128 columns wide
This commit is contained in:
parent
956d1e9d95
commit
27029eb8db
1 changed files with 4 additions and 3 deletions
|
@ -2796,8 +2796,8 @@ SelectionDisplay = (function() {
|
||||||
};
|
};
|
||||||
if (directionFor3DStretch) {
|
if (directionFor3DStretch) {
|
||||||
lastPick3D = rayPlaneIntersection(pickRay,
|
lastPick3D = rayPlaneIntersection(pickRay,
|
||||||
pickRayPosition3D,
|
pickRayPosition3D,
|
||||||
planeNormal3D);
|
planeNormal3D);
|
||||||
distanceFor3DStretch = Vec3.length(Vec3.subtract(pickRayPosition3D, pickRay.origin));
|
distanceFor3DStretch = Vec3.length(Vec3.subtract(pickRayPosition3D, pickRay.origin));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2839,7 +2839,8 @@ SelectionDisplay = (function() {
|
||||||
|
|
||||||
// Are we using handControllers or Mouse - only relevant for 3D tools
|
// Are we using handControllers or Mouse - only relevant for 3D tools
|
||||||
var controllerPose = getControllerWorldLocation(activeHand, true);
|
var controllerPose = getControllerWorldLocation(activeHand, true);
|
||||||
if (HMD.isHMDAvailable() && HMD.isHandControllerAvailable() && controllerPose.valid && that.triggered && directionFor3DStretch) {
|
if (HMD.isHMDAvailable()
|
||||||
|
&& HMD.isHandControllerAvailable() && controllerPose.valid && that.triggered && directionFor3DStretch) {
|
||||||
localDeltaPivot = deltaPivot3D;
|
localDeltaPivot = deltaPivot3D;
|
||||||
|
|
||||||
newPick = pickRay.origin;
|
newPick = pickRay.origin;
|
||||||
|
|
Loading…
Reference in a new issue