--- a/rust/lib-hedgewars-engine/src/lib.rs Wed Nov 28 21:10:18 2018 +0300
+++ b/rust/lib-hedgewars-engine/src/lib.rs Wed Nov 28 21:35:54 2018 +0300
@@ -1,5 +1,6 @@
pub mod instance;
mod ipc;
+mod render;
mod world;
use gfx::{format::Formatted, Encoder};
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/rust/lib-hedgewars-engine/src/render.rs Wed Nov 28 21:35:54 2018 +0300
@@ -0,0 +1,17 @@
+use gfx::{
+ format,
+ ConstantBuffer,
+ DepthTarget,
+ RenderTarget,
+ TextureSampler,
+ VertexBuffer,
+};
+
+struct Camera {
+ pos: [f32; 2]
+}
+
+fn render() {
+
+}
+