Type Alias parry2d_f64::shape::RoundTriangle
source · pub type RoundTriangle = RoundShape<Triangle>;
Expand description
A triangle dilated by a sphere (so it has round corners).
Aliased Type§
struct RoundTriangle {
pub inner_shape: Triangle,
pub border_radius: f64,
}
Fields§
§inner_shape: Triangle
The shape being rounded.
border_radius: f64
The radius of the rounded border.