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