toVec4

fun toVec4(w: Float = 0.0f): Vec4

Returns a 4D vector with x, y and `z coordinates of this vector and the given w coordinate.