openrndr
0.4.5-dev.4.uncommitted+98ebace
common
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
.