init

fun init(x: Float, y: Float, z: Float, w: Float): Vec4

Initializes a #graphene_vec4_t using the given values.

This function can be called multiple times.

Return

a pointer to the initialized vector

Since

1.0

Parameters

x

the X field of the vector

y

the Y field of the vector

z

the Z field of the vector

w

the W field of the vector