openrndr
0.4.5-dev.8+a91fb75
common
openrndr-shape
/
org.openrndr.shape
/
Box
/
Companion
/
fromAnchor
from
Anchor
fun
fromAnchor
(
anchorUVW
:
Vector3
,
anchor
:
Vector3
,
width
:
Double
,
height
:
Double
=
width
,
depth
:
Double
=
width
)
:
Box
(
source
)
Create a new
Box
by specifying the
anchorUVW
,
anchor
positions with dimensions
width
and
height
.