Cleanup
This commit is contained in:
parent
8a5bce290c
commit
a59f217b2b
|
|
@ -4,16 +4,13 @@ use std::fs::File;
|
||||||
use std::{env};
|
use std::{env};
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
use std::f32::consts::PI;
|
use std::f32::consts::PI;
|
||||||
use std::io::{BufRead, BufReader};
|
use std::io::{BufReader};
|
||||||
use std::io::Write;
|
|
||||||
use rand::Rng;
|
|
||||||
use glm::*;
|
use glm::*;
|
||||||
use show_image::{ImageInfo, ImageView, WindowOptions};
|
use show_image::{ImageInfo, ImageView, WindowOptions};
|
||||||
use crate::mesh_loader::{Face, load_mesh};
|
use crate::mesh_loader::{Face, load_mesh};
|
||||||
|
|
||||||
const W: i32 = 320;
|
const W: i32 = 320;
|
||||||
const H: i32 = 240;
|
const H: i32 = 240;
|
||||||
const SCALE: f32 = 30.0;
|
|
||||||
|
|
||||||
#[derive(Copy, Clone)]
|
#[derive(Copy, Clone)]
|
||||||
struct Color(u8, u8, u8);
|
struct Color(u8, u8, u8);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user