Vec4.init_

graphene.vec4.Vec4 init_(float x, float y, float z, float w)

Initializes a #graphene_vec4_t using the given values.

This function can be called multiple times.

Parameters

xthe X field of the vector
ythe Y field of the vector
zthe Z field of the vector
wthe W field of the vector

Returns

a pointer to the initialized

vector