glimpse-graphics
1.2.0
common
glimpse-core
/
graphics.glimpse.types
/
Vec2
/
toVec4
to
Vec4
common
fun
toVec4
(
z
:
Float
=
0.0f
,
w
:
Float
=
0.0f
)
:
Vec4
Content copied to clipboard
Returns a 4D vector with
x
and
y
coordinates of this vector and the given
z
and
w
coordinates.