Triangle.initFromFloat

Initializes a #graphene_triangle_t using the three given arrays of floating point values, each representing the coordinates of a point in 3D space.

class Triangle
initFromFloat
(
float[3] a
,
float[3] b
,
float[3] c
)

Parameters

a float[3]

an array of 3 floating point values

b float[3]

an array of 3 floating point values

c float[3]

an array of 3 floating point values

Return Value

Type: Triangle

the initialized #graphene_triangle_t

Meta

Since

1.10