glimpse-core
2.0.0-alpha.3
common
glimpse-core
/
graphics.glimpse.types
/
Vec2
/
toVec3
to
Vec3
fun
toVec3
(
z
:
T
=
zero(this.type)
)
:
Vec3
<
T
>
Returns a 3D vector with
x
and
y
coordinates of this vector and the given
z
coordinate.