remove track(...)

This commit is contained in:
griffi-gh 2023-02-14 19:35:47 +01:00
parent 7b6d50abe5
commit a8142468a2
4 changed files with 0 additions and 6 deletions

View file

@ -2,9 +2,7 @@ use shipyard::Component;
use glam::{Mat4, Mat3};
#[derive(Component, Clone, Copy, Debug, Default)]
#[track(All)]
pub struct Transform(pub Mat4);
#[derive(Component, Clone, Copy, Debug, Default)]
#[track(All)]
pub struct Transform2d(pub Mat3);

View file

@ -3,7 +3,6 @@ use crate::rendering::Renderer;
use glium::glutin::window::CursorGrabMode;
#[derive(Unique)]
#[track(All)]
pub struct CursorLock(pub bool);
pub fn update_cursor_lock_state(

View file

@ -2,7 +2,6 @@ use shipyard::{Unique, UniqueView, UniqueViewMut, AllStoragesView};
use std::mem::take;
#[derive(Unique, PartialEq, Eq, Default, Clone, Copy)]
#[track(All)]
pub enum GameState {
#[default]
Initial,
@ -12,7 +11,6 @@ pub enum GameState {
}
#[derive(Unique, PartialEq, Eq, Default, Clone, Copy)]
#[track(All)]
pub struct NextState(pub Option<GameState>);
pub fn init_state(

View file

@ -24,7 +24,6 @@ use queue::BlockUpdateQueue;
// because this is not send-sync
#[derive(Default, Unique)]
#[track(Modification)]
pub struct ChunkStorage {
pub chunks: HashMap<IVec3, Chunk>
}