Vec3.getXyzw

void getXyzw(float w, out graphene.vec4.Vec4 res)

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

Parameters

wthe value of the W component
resreturn location for the vector