pub type Cone = Cone;Expand description
A cone shape.
Aliased Type§
#[repr(C)]pub struct Cone {
pub half_height: f32,
pub radius: f32,
}Fields§
§half_height: f32Half the total height of the cone.
The cone extends from y = -half_height (base center) to y = +half_height (apex). Must be positive.
radius: f32The radius of the circular base.
The base is a circle in the XZ plane at y = -half_height. Must be positive.