openrndr
0.4.5-dev.4.uncommitted+98ebace
common
openrndr-shape
/
org.openrndr.shape
/
Triangle
/
Companion
Companion
object
Companion
(
source
)
Members
Functions
from
Centroid
Link copied to clipboard
fun
fromCentroid
(
centroid
:
Vector2
,
radius
:
Double
,
theta
:
Double
=
60.0
,
rotation
:
Double
=
0.0
)
:
Triangle
Creates a triangle from a
centroid
based on the circumradius
radius