physics: unused field
This commit is contained in:
parent
fd5a813357
commit
40ed173b60
@ -922,7 +922,7 @@ impl VirtualBody<'_>{
|
|||||||
pub struct PhysicsState{
|
pub struct PhysicsState{
|
||||||
time:Time,
|
time:Time,
|
||||||
body:Body,
|
body:Body,
|
||||||
world:WorldState,//currently there is only one state the world can be in
|
_world:WorldState,//currently there is only one state the world can be in
|
||||||
touching:TouchingState,
|
touching:TouchingState,
|
||||||
//camera must exist in state because wormholes modify the camera, also camera punch
|
//camera must exist in state because wormholes modify the camera, also camera punch
|
||||||
camera:PhysicsCamera,
|
camera:PhysicsCamera,
|
||||||
@ -959,7 +959,7 @@ impl Default for PhysicsState{
|
|||||||
move_state:MoveState::Air,
|
move_state:MoveState::Air,
|
||||||
camera:PhysicsCamera::default(),
|
camera:PhysicsCamera::default(),
|
||||||
input_state:InputState::default(),
|
input_state:InputState::default(),
|
||||||
world:WorldState{},
|
_world:WorldState{},
|
||||||
mode_state:ModeState::default(),
|
mode_state:ModeState::default(),
|
||||||
run:run::Run::new(),
|
run:run::Run::new(),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user