update module structure
authoralfadur
Fri, 22 Mar 2019 19:09:28 +0300
changeset 14703 81030dcbd2d8
parent 14702 29dbe9ce8b7d
child 14704 12db7e435ea6
update module structure
rust/lib-hedgewars-engine/src/render.rs
rust/lib-hedgewars-engine/src/render/mod.rs
--- a/rust/lib-hedgewars-engine/src/render.rs	Fri Mar 22 18:01:08 2019 +0200
+++ b/rust/lib-hedgewars-engine/src/render.rs	Fri Mar 22 19:09:28 2019 +0300
@@ -1,17 +1,6 @@
-use gfx::{
-    format,
-    ConstantBuffer,
-    DepthTarget,
-    RenderTarget,
-    TextureSampler,
-    VertexBuffer,
-};
+mod map;
+mod gl;
 
-struct Camera {
-    pos: [f32; 2]
-}
+pub use self::map::*;
+use self::gl::*;
 
-fn render() {
-
-}
-
--- a/rust/lib-hedgewars-engine/src/render/mod.rs	Fri Mar 22 18:01:08 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-mod map;
-mod gl;
-
-pub use self::map::*;
-use self::gl::*;