openrndr
Toggle table of contents
0.5.0-dev.24+01d4f82
common
Target filter
common
Switch theme
Search in API
Skip to content
openrndr
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