summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 98dd39f..857e744 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -66,8 +66,7 @@ impl App<AssetId> for BugBasherGame {
let angle = angle_dist.ind_sample(&mut self.rng);
self.bugs.push(Bug::new(
angle.cos()*1000.,
- angle.sin()*1000.,
- angle + PI
+ angle.sin()*1000.
));
}