openrndr
0.4.5-dev.2+46aea0f
common
openrndr-shape
/
org.openrndr.shape
/
Triangle
/
randomPoint
random
Point
fun
randomPoint
(
random
:
Random
=
Random.Default
)
:
Vector2
(
source
)
Generates a random point that lies inside the
Triangle
.