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: Vec3, pub b: Vec3, pub c: Vec3, }

Fields§

§a: Vec3

The first vertex of the triangle.

§b: Vec3

The second vertex of the triangle.

§c: Vec3

The third vertex of the triangle.