The first point of the triangle.
The second point of the triangle.
The third point of the triangle.
Returns the area of the triangle.
Return the barycentric coordinates of the given point, relative to this triangle.
The point for which to calculate the barycentric coordinates.
The result will be copied into this Vector3.
Returns a new triangle with the same a, b and c properties as this one.
Returns true if the provided point, when projected onto the plane of this triangle, lies within the triangle.
The point to check.
Returns true if this triangle and the provided one v have identical a, b and c properties.
Returns the calculated normal vector of this triangle.
The result will be copied into this Vector3.
Sets the triangle's points a, b and c from the values contained in an array of Vector3, respectively at indices i0, i1 and i2.
The array of Vector3 where the points used to set this triangle are stored.
The index in points where to get the value point a of this triangle.
The index in points where to get the value point b of this triangle.
The index in points where to get the value point c of this triangle.
Return the barycentric coordinates of the given point, relative to the triangle defined by the points a, b and c.
The point for which to calculate the barycentric coordinates.
The first point of the triangle.
The second point of the triangle.
The third point of the triangle.
The result will be copied into this Vector3.
Returns true if the provided point, when projected onto the plane of the triangle defined by the three points a, b and c, lies within the triangle.
The point to check.
The first point of the triangle.
The second point of the triangle.
The third point of the triangle.
Returns the calculated normal vector of the triangle defined by the three points a, b and c.
The first point of the triangle.
The second point of the triangle.
The third point of the triangle.
The result will be copied into this Vector3.
Creates a new Triangle.