openrndr
0.4.5-dev.8+a91fb75
common
openrndr-shape
/
org.openrndr.shape
/
Box
/
Companion
/
fromCenter
from
Center
fun
fromCenter
(
center
:
Vector3
,
width
:
Double
,
height
:
Double
=
width
,
depth
:
Double
=
width
)
:
Box
(
source
)
Creates a new
Box
by specifying the
center
position with dimensions
width
,
height
and
depth
.