[−][src]Function graphics::math::triangle_face
pub fn triangle_face<T>(triangle: Triangle<T>) -> bool where
T: Float,
Returns true if triangle is clockwise.
This is done by computing which side the third vertex is relative to the line starting from the first vertex to second vertex.
The triangle is considered clockwise if the third vertex is on the line between the two first vertices.