refactor: remove unnecessary brackets (BODMAS works without)
This commit is contained in:
parent
c47aede868
commit
b7611b88c9
|
@ -82,7 +82,7 @@ pub fn attack(
|
|||
|
||||
for player_transform in set.p1().iter_mut() {
|
||||
let attack_position =
|
||||
player_transform.translation + ((player_transform.rotation * Vec3::Y) * 100.);
|
||||
player_transform.translation + (player_transform.rotation * Vec3::Y * 100.);
|
||||
|
||||
if keys.just_pressed(KeyCode::Enter) {
|
||||
commands
|
||||
|
|
Loading…
Reference in a new issue