getXyzw

fun getXyzw(w: Float, res: Vec4)

Converts a #graphene_vec3_t in a #graphene_vec4_t using @w as the value of the fourth component of the resulting vector.

Since

1.0

Parameters

w

the value of the W component

res

return location for the vector