Triangle

Type Alias Triangle 

Source
pub type Triangle = Triangle;
Expand description

A triangle shape.

Aliased Type§

#[repr(C)]
pub struct Triangle { pub a: OPoint<f32, Const<2>>, pub b: OPoint<f32, Const<2>>, pub c: OPoint<f32, Const<2>>, }

Fields§

§a: OPoint<f32, Const<2>>

The first vertex of the triangle.

§b: OPoint<f32, Const<2>>

The second vertex of the triangle.

§c: OPoint<f32, Const<2>>

The third vertex of the triangle.