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}; use glam::{Mat4, Mat3};
#[derive(Component, Clone, Copy, Debug, Default)] #[derive(Component, Clone, Copy, Debug, Default)]
#[track(All)]
pub struct Transform(pub Mat4); pub struct Transform(pub Mat4);
#[derive(Component, Clone, Copy, Debug, Default)] #[derive(Component, Clone, Copy, Debug, Default)]
#[track(All)]
pub struct Transform2d(pub Mat3); pub struct Transform2d(pub Mat3);

View file

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

View file

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

View file

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