asteroidsfactory 0.0.3

Asteroid factory — classify, build and catalogue asteroids of any type: near-Earth, main belt, trojan, centaur, binary, rubble pile, metallic, and potentially hazardous.
Documentation
#[derive(Debug, Clone, Copy, PartialEq)]
pub struct AsteroidMaterial {
    pub albedo: [f32; 3],
    pub roughness: f32,
    pub metallic: f32,
}

impl AsteroidMaterial {
    pub fn c_type() -> Self {
        Self {
            albedo: [0.05, 0.04, 0.04],
            roughness: 0.9,
            metallic: 0.0,
        }
    }

    pub fn s_type() -> Self {
        Self {
            albedo: [0.20, 0.16, 0.12],
            roughness: 0.8,
            metallic: 0.1,
        }
    }

    pub fn m_type() -> Self {
        Self {
            albedo: [0.15, 0.14, 0.13],
            roughness: 0.6,
            metallic: 0.7,
        }
    }

    pub fn v_type() -> Self {
        Self {
            albedo: [0.30, 0.25, 0.20],
            roughness: 0.75,
            metallic: 0.05,
        }
    }
}