Vec3.init_

Initializes a #graphene_vec3_t using the given values.

This function can be called multiple times.

class Vec3
init_
(
float x
,
float y
,
float z
)

Parameters

x float

the X field of the vector

y float

the Y field of the vector

z float

the Z field of the vector

Return Value

Type: graphene.vec3.Vec3

a pointer to the initialized vector