initFromVec2

fun initFromVec2(src: Vec2, z: Float, w: Float): Vec4

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

Return

the initialized vector

Since

1.0

Parameters

src

a #graphene_vec2_t

z

the value for the third component of @v

w

the value for the fourth component of @v