Triangle
class Triangle(val grapheneTrianglePointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)
A triangle.
Skipped during bindings generation
parameter
a
: Array parameter of type gfloat is not supported
Since
1.2
Constructors
Link copied to clipboard
constructor()
Allocate a new Triangle.
constructor(scope: <Error class: unknown class>)
Allocate a new Triangle using the provided AutofreeScope.
constructor(grapheneTrianglePointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)
Functions
Link copied to clipboard
Checks whether the given triangle @t contains the point @p.
Link copied to clipboard
Computes the barycentric coordinates of the given point @p.
Link copied to clipboard
Computes the bounding box of the given #graphene_triangle_t.
Link copied to clipboard
Computes the coordinates of the midpoint of the given #graphene_triangle_t.
Link copied to clipboard
Retrieves the three vertices of the given #graphene_triangle_t.
Link copied to clipboard
Initializes a #graphene_triangle_t using the three given 3D points.
Link copied to clipboard
Initializes a #graphene_triangle_t using the three given vectors.