openrndr
Toggle table of contents
0.4.5-dev.17.uncommitted+81afe70
common
Platform filter
common
Switch theme
Search in API
openrndr
openrndr-math
/
org.openrndr.math
/
BooleanVector3
/
toIntVector3
to
Int
Vector3
fun
toIntVector3
(
x
:
Int
=
if (this.x) 1 else 0
,
y
:
Int
=
if (this.y) 1 else 0
,
z
:
Int
=
if (this.z) 1 else 0
)
:
IntVector3
(
source
)
Casts to
IntVector3
.