Bläddra i källkod

populated module level files

David Golembiowski 5 år sedan
förälder
incheckning
57e837092e

BIN
port/PyAssimp/pyassimp/.structs.py.swp


BIN
port/assimp_rs/src/structs/.mod.rs.swp


+ 5 - 1
port/assimp_rs/src/structs/anim/mod.rs

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

+ 4 - 1
port/assimp_rs/src/structs/color/mod.rs

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

+ 3 - 1
port/assimp_rs/src/structs/matrix/mod.rs

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

+ 1 - 1
port/assimp_rs/src/structs/memory/mod.rs

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

+ 1 - 0
port/assimp_rs/src/structs/mesh/mod.rs

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

+ 1 - 0
port/assimp_rs/src/structs/quaternion/mod.rs

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

+ 2 - 1
port/assimp_rs/src/structs/string/mod.rs

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

+ 0 - 2
port/assimp_rs/src/structs/texel/mod.rs

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

+ 0 - 19
port/assimp_rs/src/structs/texel/texel.rs

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

+ 1 - 0
port/assimp_rs/src/structs/texture/mod.rs

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

+ 19 - 0
port/assimp_rs/src/structs/texture/texture.rs

@@ -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
+        }
+    }
+}

+ 1 - 1
port/assimp_rs/src/structs/vertex/mod.rs

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