initial (bad) voxel renderer
This commit is contained in:
15
src/client/state.rs
Normal file
15
src/client/state.rs
Normal 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,
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user