Type Alias Cylinder

Source
pub type Cylinder = Cylinder;
Expand description

A cylindrical shape.

Aliased Type§

#[repr(C)]
pub struct Cylinder { pub half_height: f32, pub radius: f32, }

Fields§

§half_height: f32

The half-height of the cylinder.

§radius: f32

The radius of the cylinder.