initFromVec3

fun initFromVec3(src: Vec3, w: Float): Vec4

Initializes a #graphene_vec4_t using the components of a #graphene_vec3_t and the value of @w.

Return

the initialized vector

Since

1.0

Parameters

src

a #graphene_vec3_t

w

the value for the fourth component of @v