Trait bevy_hexasphere::BaseShape[][src]

pub trait BaseShape<V: Vec3> {
    const EDGES: usize;

    fn initial_points(&self) -> Vec<V>;
fn triangles(&self) -> Box<[Triangle]>;
fn interpolate(&self, a: V, b: V, p: f32) -> V; fn interpolate_half(&self, a: V, b: V) -> V { ... }
fn interpolate_multiple(
        &self,
        a: V,
        b: V,
        indices: &[u32],
        points: &mut [V]
    ) { ... } }

Associated Constants

Loading content...

Required methods

fn initial_points(&self) -> Vec<V>[src]

fn triangles(&self) -> Box<[Triangle]>[src]

fn interpolate(&self, a: V, b: V, p: f32) -> V[src]

Loading content...

Provided methods

fn interpolate_half(&self, a: V, b: V) -> V[src]

fn interpolate_multiple(&self, a: V, b: V, indices: &[u32], points: &mut [V])[src]

Loading content...

Implementors

impl<V: Vec3> BaseShape<V> for IcoSphereBase[src]

Loading content...