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-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
.