hexasphere::shapes

Type Alias 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.