initial (bad) voxel renderer

This commit is contained in:
2024-06-04 12:11:28 -04:00
commit 7ae6a01949
31 changed files with 4268 additions and 0 deletions

15
src/client/state.rs Normal file
View File

@@ -0,0 +1,15 @@
use super::camera::Camera;
pub struct ClientState {
pub camera: Camera,
pub camera_scroll: f32,
}
impl ClientState {
pub fn new() -> Self {
Self {
camera: Camera::default(),
camera_scroll: 0.0,
}
}
}