Sets our main struct and passes it to the parent class.
Allocates a new #graphene_vec3_t structure.
Adds each component of the two given vectors.
Computes the cross product of the two given vectors.
Divides each component of the first operand @a by the corresponding component of the second operand @b, and places the results into the vector @res.
Computes the dot product of the two given vectors.
Checks whether the two given #graphene_vec3_t are equal.
Frees the resources allocated by @v
the main Gtk struct as a void*
Get the main Gtk struct
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.
Creates a #graphene_vec3_t that contains the first two components of the given #graphene_vec3_t, and the third component set to 0.
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.
Retrieves the second component of the given vector @v.
Retrieves the third component of the given vector @v.
Initializes a #graphene_vec3_t using the given values.
Initializes a #graphene_vec3_t with the values from an array.
Initializes a #graphene_vec3_t with the values of another #graphene_vec3_t.
Linearly interpolates @v1 and @v2 using the given @factor.
Retrieves the length of the given vector @v.
Compares each component of the two given vectors and creates a vector that contains the maximum values.
Compares each component of the two given vectors and creates a vector that contains the minimum values.
Multiplies each component of the two given vectors.
Compares the two given #graphene_vec3_t vectors and checks whether their values are within the given @epsilon.
Negates the given #graphene_vec3_t.
Normalizes the given #graphene_vec3_t.
Multiplies all components of the given vector with the given scalar @factor.
Subtracts from each component of the first operand @a the corresponding component of the second operand @b and places each result into the components of @res.
Copies the components of a #graphene_vec3_t into the given array.
Provides a constant pointer to a vector with three components, all sets to 1.
Provides a constant pointer to a vector with three components with values set to (1, 0, 0).
Provides a constant pointer to a vector with three components with values set to (0, 1, 0).
Provides a constant pointer to a vector with three components with values set to (0, 0, 1).
Provides a constant pointer to a vector with three components, all sets to 0.
the main Gtk struct
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.