sort enums like normalid

This commit is contained in:
Quaternions 2023-10-10 15:33:32 -07:00
parent bdc0dd1b3b
commit e2af6fc4ed

View File

@ -19,12 +19,12 @@ pub enum PhysicsInstruction {
pub enum PhysicsInputInstruction { pub enum PhysicsInputInstruction {
ReplaceMouse(MouseState,MouseState), ReplaceMouse(MouseState,MouseState),
SetNextMouse(MouseState), SetNextMouse(MouseState),
SetMoveForward(bool),
SetMoveLeft(bool),
SetMoveBack(bool),
SetMoveRight(bool), SetMoveRight(bool),
SetMoveUp(bool), SetMoveUp(bool),
SetMoveBack(bool),
SetMoveLeft(bool),
SetMoveDown(bool), SetMoveDown(bool),
SetMoveForward(bool),
SetJump(bool), SetJump(bool),
SetZoom(bool), SetZoom(bool),
Reset, Reset,
@ -33,12 +33,12 @@ pub enum PhysicsInputInstruction {
#[derive(Debug)] #[derive(Debug)]
pub enum InputInstruction { pub enum InputInstruction {
MoveMouse(glam::IVec2), MoveMouse(glam::IVec2),
MoveForward(bool),
MoveLeft(bool),
MoveBack(bool),
MoveRight(bool), MoveRight(bool),
MoveUp(bool), MoveUp(bool),
MoveBack(bool),
MoveLeft(bool),
MoveDown(bool), MoveDown(bool),
MoveForward(bool),
Jump(bool), Jump(bool),
Zoom(bool), Zoom(bool),
Reset, Reset,