tidying up code

Former-commit-id: 0f77e7baf0c628969bc31e4d5fc4b42e18ab57d2
This commit is contained in:
jshipsey 2019-04-20 18:12:45 -04:00
parent 7778546b69
commit c492e72a99

View File

@ -30,7 +30,6 @@ impl Animation for IdleAnimation {
let wavecos_slow = (time as f32 * 6.0 + PI).cos();
let waveultra_slow = (time as f32 * 1.0 + PI).sin();
let waveultracos_slow = (time as f32 * 1.0 + PI).cos();
let wave_dip = (wave_slow.abs() - 0.5).abs();
next.head.offset = Vec3::new(0.0, 0.0, 12.0 + waveultra_slow * 0.4) / SCALE;