Type Alias rapier2d::geometry::Triangle

source ·
pub type Triangle = Triangle;
Expand description

A triangle shape.

Aliased Type§

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 triangle first point.

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

The triangle second point.

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

The triangle third point.