Move main.rs to pumpkin.rs
parent
ad7b52c0bf
commit
6b9b2a4e93
|
@ -187,7 +187,7 @@ dependencies = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "opengl-rust"
|
name = "opengl_rust"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"gl 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"gl 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "opengl-rust"
|
name = "opengl_rust"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["_"]
|
authors = ["_"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
|
@ -6,11 +6,7 @@ use std::collections::HashMap;
|
||||||
use std::ffi::{c_void};
|
use std::ffi::{c_void};
|
||||||
use std::time::{Duration};
|
use std::time::{Duration};
|
||||||
|
|
||||||
mod file;
|
use opengl_rust::*;
|
||||||
mod iqm;
|
|
||||||
mod shader;
|
|
||||||
mod texture;
|
|
||||||
mod timestep;
|
|
||||||
|
|
||||||
use file::load_small_file;
|
use file::load_small_file;
|
||||||
use iqm::Model;
|
use iqm::Model;
|
|
@ -0,0 +1,5 @@
|
||||||
|
pub mod file;
|
||||||
|
pub mod iqm;
|
||||||
|
pub mod shader;
|
||||||
|
pub mod texture;
|
||||||
|
pub mod timestep;
|
Loading…
Reference in New Issue