function
createPlanet
(
scene
,
mesh
,
group
,
x
,
scale
)
{
mesh
.
position
.
set
(
x
,
0
,
0
)
;
mesh
.
scale
.
setScalar
(
scale
)
;
group
.
add
(
mesh
)
;
scene
.
add
(
group
)
;
}
view raw
block11.js
hosted with ❤ by
GitHub