mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 22:16:58 +02:00
Fix Code Standard
This commit is contained in:
parent
70239b560a
commit
956d1e9d95
1 changed files with 3 additions and 3 deletions
|
@ -2677,8 +2677,8 @@ SelectionDisplay = (function() {
|
||||||
deltaPivot3D = Vec3.subtract(centeredRP, scaledPivot3D);
|
deltaPivot3D = Vec3.subtract(centeredRP, scaledPivot3D);
|
||||||
|
|
||||||
var scaledOffsetWorld3D = vec3Mult(initialDimensions,
|
var scaledOffsetWorld3D = vec3Mult(initialDimensions,
|
||||||
Vec3.subtract(Vec3.multiply(0.5, Vec3.multiply(-1.0, directionFor3DStretch)),
|
Vec3.subtract(Vec3.multiply(0.5, Vec3.multiply(-1.0, directionFor3DStretch)),
|
||||||
centeredRP));
|
centeredRP));
|
||||||
|
|
||||||
pickRayPosition3D = Vec3.sum(initialPosition, Vec3.multiplyQbyV(rotation, scaledOffsetWorld));
|
pickRayPosition3D = Vec3.sum(initialPosition, Vec3.multiplyQbyV(rotation, scaledOffsetWorld));
|
||||||
}
|
}
|
||||||
|
@ -2839,7 +2839,7 @@ 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