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
src | a #graphene_vec2_t |
z | the value for the third component of v |
w | the value for the fourth component of v |
Returns
the initialized vector