Vec4.initFromVec2

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

class Vec4
initFromVec2
(,
float z
,
float w
)

Parameters

src Vec2

a #graphene_vec2_t

z float

the value for the third component of @v

w float

the value for the fourth component of @v

Return Value

Type: Vec4

the initialized vector

Meta