Skip to content

Commit 8816285

Browse files
committed
style(modeling): small changes as requested
1 parent 98610c9 commit 8816285

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/modeling/src/operations/booleans/trees/splitPolygonByPlane.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ export const splitPolygonByPlane = (result, splane, polygon) => {
115115
// assemble the result
116116
result.type = 4
117117

118-
frontVertices.length >= 3 ? result.front = poly3.fromVerticesAndPlane(frontVertices, pplane) : result.front = null
118+
result.front = frontVertices.length >= 3 ? poly3.fromVerticesAndPlane(frontVertices, pplane) : null
119119

120-
backVertices.length >= 3 ? result.back = poly3.fromVerticesAndPlane(backVertices, pplane) : result.back = null
120+
result.back = backVertices.length >= 3 ? poly3.fromVerticesAndPlane(backVertices, pplane) : null
121121
}
122122
}
123123
return result

0 commit comments

Comments
 (0)