Type Alias Shape

Source
pub type Shape = Shape<3>;

Aliased Type§

pub enum Shape {
    Ball {
        radius: f32,
    },
    Box {
        half_extents: [f32; 3],
    },
}

Variants§

§

Ball

Fields

§radius: f32
§

Box

Fields

§half_extents: [f32; 3]