Vec4.initFromVec3

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

class Vec4
initFromVec3
(,
float w
)

Parameters

src Vec3

a #graphene_vec3_t

w float

the value for the fourth component of @v

Return Value

Type: Vec4

the initialized vector

Meta