populated module level files

This commit is contained in:
David Golembiowski 2020-05-01 18:23:14 -04:00
parent 778c3afbbb
commit 57e837092e
14 changed files with 38 additions and 27 deletions

View File

@ -1,2 +1,6 @@
mod anim;
pub use self::anim::{
Animation,
NodeAnim,
MeshAnim,
MeshMorphAnim};

View File

@ -1,2 +1,5 @@
mod color;
pub use self::color::{
Color3D,
Color4D
};

View File

@ -1,2 +1,4 @@
mod matrix;
pub use self::matrix::{
Matrix3x3,
Matrix4x4};

View File

@ -1,2 +1,2 @@
mod memory;
pub use self::memory::MemoryInfo;

View File

@ -1,2 +1,3 @@
mod mesh;

View File

@ -1,2 +1,3 @@
mod quaternion;
pub use self::quaternion::Quaternion;

View File

@ -1,2 +1,3 @@
mod string;
pub use self::string::MAXLEN;
pub use self::string::Str;

View File

@ -1,2 +0,0 @@
mod texel;

View File

@ -1,19 +0,0 @@
#[derive(Clone, Debug, Copy)]
struct Texel {
b: u32,
g: u32,
r: u32,
a: u32
}
impl Texel {
pub fn new(b_u32: u32, g_u32: u32,
r_u32: u32, a_u32: u32) -> Texel {
Texel {
b: b_u32,
g: g_u32,
r: r_u32,
a: a_u32
}
}
}

View File

@ -1,2 +1,3 @@
mod texture;
pub use self::texture::Texel;

View File

@ -0,0 +1,19 @@
#[derive(Clone, Debug, Copy)]
struct Texel {
b: u32,
g: u32,
r: u32,
a: u32
}
impl Texel {
pub fn new(b_u32: u32, g_u32: u32,
r_u32: u32, a_u32: u32) -> Texel {
Texel {
b: b_u32,
g: g_u32,
r: r_u32,
a: a_u32
}
}
}

View File

@ -1,2 +1,2 @@
mod vertex;
// pub use self::vertex::