Skip to main content

Triangle

Type Alias Triangle 

Source
pub type Triangle = Triangle;
Expand description

A triangle shape.

Aliased Type§

#[repr(C)]
pub struct Triangle { pub a: Vec2, pub b: Vec2, pub c: Vec2, }

Fields§

§a: Vec2

The first vertex of the triangle.

§b: Vec2

The second vertex of the triangle.

§c: Vec2

The third vertex of the triangle.