Type Alias RoundConvexPolyhedron

Source
pub type RoundConvexPolyhedron = RoundShape<ConvexPolyhedron>;
Expand description

A convex polyhedron dilated by a sphere (so it has round corners).

Aliased Type§

#[repr(C)]
pub struct RoundConvexPolyhedron { pub inner_shape: ConvexPolyhedron, pub border_radius: f32, }

Fields§

§inner_shape: ConvexPolyhedron

The shape being rounded.

§border_radius: f32

The radius of the rounded border.