Type Alias hexasphere::shapes::IcoSphere

source ·
pub type IcoSphere<T> = Subdivided<T, IcoSphereBase>;
Expand description

Icosphere.

See IcoSphereBase.

Aliased Type§

struct IcoSphere<T> { /* private fields */ }

Implementations§

source§

impl<T> IcoSphere<T>

source

pub fn radius_shapes(&self) -> f32

Calculate distance from the center of a shape (pentagon or hexagon) to one of the vertices of the shape.

In other words, the radius of the circumscribed circle.