Move main.rs to pumpkin.rs

main
_ 2020-02-16 23:24:33 +00:00
parent ad7b52c0bf
commit 6b9b2a4e93
4 changed files with 8 additions and 7 deletions

2
Cargo.lock generated
View File

@ -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)",

View File

@ -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"

View File

@ -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;

5
src/lib.rs Normal file
View File

@ -0,0 +1,5 @@
pub mod file;
pub mod iqm;
pub mod shader;
pub mod texture;
pub mod timestep;