Vec4.initFromVec2

graphene.vec4.Vec4 initFromVec2(graphene.vec2.Vec2 src, float z, float w)

Initializes a #graphene_vec4_t using the components of a #graphene_vec2_t and the values of z and w.

Parameters

srca #graphene_vec2_t
zthe value for the third component of v
wthe value for the fourth component of v

Returns

the initialized vector