Frees the resources allocated by v
Retrieves the first component of the given vector v
.
Creates a #graphene_vec2_t that contains the first and second components of the given #graphene_vec3_t.
Converts a #graphene_vec3_t in a #graphene_vec4_t using 0.0 as the value for the fourth component of the resulting vector.
Converts a #graphene_vec3_t in a #graphene_vec4_t using 1.0 as the value for the fourth component of the resulting vector.
Converts a #graphene_vec3_t in a #graphene_vec4_t using w
as
the value of the fourth component of the resulting vector.
the value of the W component
Retrieves the second component of the given vector v
.
Retrieves the third component of the given vector v
.
Retrieves the length of the given vector v
.
Copies the components of a #graphene_vec3_t into the given array.
A structure capable of holding a vector with three dimensions: x, y, and z.
The contents of the #graphene_vec3_t structure are private and should never be accessed directly.