Skip to content

Commit e390ef2

Browse files
tomhsiao1260PWhiddy
authored andcommitted
fix some format
1 parent 8079613 commit e390ef2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

generators/sculpt.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
glslBuiltInOther
1010
} from '../glsl/bindings.js';
1111

12-
import {convertFunctionToString} from '../targets/helpers.js'
12+
import { convertFunctionToString } from '../targets/helpers.js';
1313

1414
import glsl from './glslParser.js';
1515

@@ -68,7 +68,6 @@ ${lgt}
6868

6969
// Converts binary math operators to our own version
7070
function replaceBinaryOp(syntaxTree) {
71-
7271
if (typeof syntaxTree === 'object') {
7372
for (let node in syntaxTree) {
7473
if (syntaxTree.hasOwnProperty(node)) {
@@ -343,7 +342,7 @@ export function sculptToGLSL(userProvidedSrc) {
343342
boundSDFs[key] = glslSDF(value);
344343
}
345344

346-
let {boxFrame, link, cappedTorus} = boundSDFs;
345+
let { boxFrame, link, cappedTorus } = boundSDFs;
347346

348347

349348

0 commit comments

Comments
 (0)