summaryrefslogtreecommitdiff
path: root/bulletpattern.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bulletpattern.cpp')
-rw-r--r--bulletpattern.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/bulletpattern.cpp b/bulletpattern.cpp
index 7d16e71..5e3d93d 100644
--- a/bulletpattern.cpp
+++ b/bulletpattern.cpp
@@ -14,10 +14,10 @@ BulletPattern::BulletPattern() {
int k = 0;
for(float i = 0; i < M_PI * 16; i += 0.1) {
- bullets[k++] = 50.0 + cosf(i) * 5;
- bullets[k++] = 50.0 + sinf(i) * 5;
- bullets[k++] = cosf(i) / 100.0;
- bullets[k++] = sinf(i) / 100.0;
+ bullets[k++] = 0.5 + cosf(i) * 0.05;
+ bullets[k++] = 0.5 + sinf(i) * 0.05;
+ bullets[k++] = cosf(i);
+ bullets[k++] = sinf(i);
}
}