init

fun init(x: Float, y: Float, z: Float): Vec3

Initializes a #graphene_vec3_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