--- a/rust/lib-hedgewars-engine/src/render/map.rs Fri Nov 13 02:52:15 2020 +0300
+++ b/rust/lib-hedgewars-engine/src/render/map.rs Fri Nov 13 20:54:00 2020 +0300
@@ -13,7 +13,6 @@
use std::num::NonZeroU32;
-// TODO: temp
const VERTEX_SHADER: &'static str = r#"
#version 150
@@ -48,7 +47,7 @@
}
"#;
-pub struct MapTile {
+struct MapTile {
// either index into GL texture array or emulated [Texture; N]
texture_index: u32,
@@ -58,13 +57,13 @@
#[repr(C)]
#[derive(Copy, Clone)]
-pub struct TileVertex {
+struct TileVertex {
pos: [f32; 2],
// doesn't hurt to include another float, just in case..
uv: [f32; 3],
}
-pub struct DrawTile {
+struct DrawTile {
texture_index: u32,
index_len: u32,
}