Vec4.init

Initializes a #graphene_vec4_t using the given values.

This function can be called multiple times.

class Vec4
init
(
float x
,
float y
,
float z
,
float w
)

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

w float

the W field of the vector

Return Value

Type: Vec4

a pointer to the initialized vector

Meta