init

fun init(x: <Error class: unknown class>, y: <Error class: unknown class>, z: <Error class: unknown class>, w: <Error class: unknown class>): 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