Vec3.getXyzw

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

class Vec3
void
getXyzw

Parameters

w float

the value of the W component

res graphene.vec4.Vec4

return location for the vector