Type Alias parry3d::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: f32,
}
Fields§
§inner_shape: Triangle
The shape being rounded.
border_radius: f32
The radius of the rounded border.