Vec4.initFromFloat

Initializes a #graphene_vec4_t with the values inside the given array.

class Vec4
initFromFloat
(
float[4] src
)

Parameters

src float[4]

an array of four floating point values

Return Value

Type: Vec4

the initialized vector

Meta