Sets our main struct and passes it to the parent class.
Allocates a new #graphene_triangle_t.
Checks whether the given triangle @t contains the point @p.
Checks whether the two given #graphene_triangle_t are equal.
Frees the resources allocated by graphene_triangle_alloc().
Computes the area of the given #graphene_triangle_t.
Computes the barycentric coordinates of the given point @p.
Computes the bounding box of the given #graphene_triangle_t.
Computes the coordinates of the midpoint of the given #graphene_triangle_t.
Computes the normal vector of the given #graphene_triangle_t.
Computes the plane based on the vertices of the given #graphene_triangle_t.
Retrieves the three vertices of the given #graphene_triangle_t and returns their coordinates as #graphene_point3d_t.
the main Gtk struct as a void*
Get the main Gtk struct
Computes the UV coordinates of the given point @p.
Retrieves the three vertices of the given #graphene_triangle_t.
Initializes a #graphene_triangle_t using the three given arrays of floating point values, each representing the coordinates of a point in 3D space.
Initializes a #graphene_triangle_t using the three given 3D points.
Initializes a #graphene_triangle_t using the three given vectors.
the main Gtk struct
A triangle.