Alternatively, you can create top-level functions ...
# getting-started
o
Alternatively, you can create top-level functions with the same name:
fun Vec2(x: Int, y:Int) = Vec2(x.toFloat(), y.toFloat())