Replace 3:00 and 9:00 with right and left.
This commit is contained in:
parent
91b058995c
commit
83ee2635d1
19
src/core.rs
19
src/core.rs
|
@ -420,13 +420,7 @@ pub trait PointLike {
|
||||||
"left and ahead"
|
"left and ahead"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
v if v <= 105. => {
|
v if v <= 105. => "left",
|
||||||
if *mode == RelativeDirectionMode::ClockFacing {
|
|
||||||
"9:00"
|
|
||||||
} else {
|
|
||||||
"left"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
v if v <= 135. => {
|
v if v <= 135. => {
|
||||||
if *mode == RelativeDirectionMode::ClockFacing {
|
if *mode == RelativeDirectionMode::ClockFacing {
|
||||||
"8:00"
|
"8:00"
|
||||||
|
@ -456,13 +450,7 @@ pub trait PointLike {
|
||||||
"right and behind"
|
"right and behind"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
v if v <= 285. => {
|
v if v <= 285. => "right",
|
||||||
if *mode == RelativeDirectionMode::ClockFacing {
|
|
||||||
"3:00"
|
|
||||||
} else {
|
|
||||||
"right"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
v if v <= 315. => {
|
v if v <= 315. => {
|
||||||
if *mode == RelativeDirectionMode::ClockFacing {
|
if *mode == RelativeDirectionMode::ClockFacing {
|
||||||
"2:00"
|
"2:00"
|
||||||
|
@ -756,7 +744,8 @@ impl Plugin for CorePlugin {
|
||||||
.add_system_to_stage(
|
.add_system_to_stage(
|
||||||
CoreStage::PostUpdate,
|
CoreStage::PostUpdate,
|
||||||
copy_collider_position_to_coordinates.system(),
|
copy_collider_position_to_coordinates.system(),
|
||||||
).add_system(sync_config.system());
|
)
|
||||||
|
.add_system(sync_config.system());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user