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: Vec3

a pointer to the initialized vector

Meta