summaryrefslogtreecommitdiff
path: root/bulletpattern.cpp
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-05-17 21:52:50 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-05-17 21:52:50 +0200
commit66edbd1db3e2b0edf2e3e00136719bb664aaf489 (patch)
treece5a312a6ccb2977aa97f5d1692b20b21c640afa /bulletpattern.cpp
parent9edb297bbd720daca3d3211d28d0a01e0a97c620 (diff)
Fixed pattern coordinates.
Diffstat (limited to 'bulletpattern.cpp')
-rw-r--r--bulletpattern.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bulletpattern.cpp b/bulletpattern.cpp
index 5e3d93d..b4b5a31 100644
--- a/bulletpattern.cpp
+++ b/bulletpattern.cpp
@@ -16,8 +16,8 @@ BulletPattern::BulletPattern() {
for(float i = 0; i < M_PI * 16; i += 0.1) {
bullets[k++] = 0.5 + cosf(i) * 0.05;
bullets[k++] = 0.5 + sinf(i) * 0.05;
- bullets[k++] = cosf(i);
- bullets[k++] = sinf(i);
+ bullets[k++] = cosf(i) / 10000.0;
+ bullets[k++] = sinf(i) / 10000.0;
}
}