Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelOnFira committed Dec 26, 2021
1 parent 857a42d commit 0cc47f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions tree-writer/src/renderers/JWST/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use std::cmp::min;
use std::fs;
use std::{cmp::min, fs};

use super::{Pixel, TreeCanvas};
use serde::Deserialize;
Expand All @@ -26,4 +25,4 @@ pub fn draw(tick: u64) -> TreeCanvas {
}

canvas
}
}
4 changes: 2 additions & 2 deletions tree-writer/src/renderers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ use tree_data_schema::Renderers;
use self::tree_canvas::{Pixel, TreeCanvas};

// Add a new renderer as a module here with the name you gave it
pub mod JWST;
pub mod ender_logo;
pub mod mario;
pub mod rainbow_wave;
pub mod red_wave;
pub mod snow;
pub mod space_fight;
pub mod template;
pub mod JWST;

pub mod tree_canvas;

Expand All @@ -24,6 +24,6 @@ pub fn visualize_renderer(tick: u64, renderer: Renderers) -> TreeCanvas {
Renderers::SpaceFight => space_fight::draw(tick),
Renderers::RainbowWave => rainbow_wave::draw(tick),
Renderers::Mario => mario::draw(tick),
Renderers::JWST=>JWST::draw(tick)
Renderers::JWST => JWST::draw(tick),
}
}

0 comments on commit 0cc47f6

Please sign in to comment.