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
(
float w
,
out Vec4 res
)

Parameters

w float

the value of the W component

res Vec4

return location for the vector

Meta