#[derive(Debug, Clone, PartialEq)] pub enum Color { Indexed(u32), Rgba(f32, f32, f32, f32), } #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum VertexField { Position, Normal, Color, Uv, } // #[derive(Debug)] // pub struct Triangle { // points: [WorldPoint; 3], // fields: HashMap>, // } // impl Triangle { // pub fn voxelize(&self, tree: &mut Octree) {} // } pub fn main() { // let mut tree: Octree = Octree::new(); // for tri in [] {} }