Triangle

Type Alias Triangle 

Source
pub type Triangle = Triangle<f32>;
Expand description

A triangle without rotated.

Aliased Type§

pub struct Triangle {
    pub a: Point<f32>,
    pub b: Point<f32>,
    pub c: Point<f32>,
}

Fields§

§a: Point<f32>

The 1st vertex of the triangle.

§b: Point<f32>

The 2nd vertex of the triangle.

§c: Point<f32>

The 3rd vertex of the triangle.