Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jtran committed Aug 21, 2024
1 parent e0d4a0f commit bb41f05
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/clientSideScene/sceneEntities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,13 @@ import {
changeSketchArguments,
updateStartProfileAtArgs,
} from 'lang/std/sketch'
import { isArray, isOverlap, normaliseAngle, roundOff, throttle } from 'lib/utils'
import {
isArray,
isOverlap,
normaliseAngle,
roundOff,
throttle,
} from 'lib/utils'
import {
addStartProfileAt,
createArrayExpression,
Expand Down Expand Up @@ -1967,7 +1973,5 @@ export function getQuaternionFromZAxis(zAxis: Vector3): Quaternion {
}

function massageFormats(a: Vec3Array | Point3d): Vector3 {
return isArray(a)
? new Vector3(a[0], a[1], a[2])
: new Vector3(a.x, a.y, a.z)
return isArray(a) ? new Vector3(a[0], a[1], a[2]) : new Vector3(a.x, a.y, a.z)
}

0 comments on commit bb41f05

Please sign in to comment.