Vec3.initFromFloat

Initializes a #graphene_vec3_t with the values from an array.

class Vec3
initFromFloat
(
float[3] src
)

Parameters

src float[3]

an array of 3 floating point values

Return Value

Type: Vec3

the initialized vector

Meta