UNPKG
lathe
Version:
latest (0.4.0)
0.4.0
0.1.0
A discrete solid modeller using BSPs
bjnortier.com/lathe/
bjnortier/lathe
lathe
/
lib
/
primitives
/
union3d.js
10 lines
(8 loc)
•
162 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
define
([
'../bsp'
,
'../polygon3d'
, ] ,
function
(
BSP, Polygon3D
) {
return
function
(
bspA, bspB
) {
this
.
bsp
=
BSP
.
union
(bspA, bspB,
Polygon3D
); } });