polyui
1.7.384
jvm
polyui
/
org.polyfrost.polyui.unit
/
toVec4
to
Vec4
@
JvmName
(
name
=
"toVec4"
)
fun
Vec2
.
toVec4
(
)
:
Vec4
Create a Vec4 from a Vec2, copying the
Vec2.x
and
Vec2.y
values to
Vec4.w
and
Vec4.h
respectively.