openrndr
Toggle table of contents
0.4.5-dev.22+a060d51
common
Platform filter
common
Switch theme
Search in API
openrndr
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
.