From 66edbd1db3e2b0edf2e3e00136719bb664aaf489 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Mon, 17 May 2010 21:52:50 +0200 Subject: Fixed pattern coordinates. --- bulletpattern.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bulletpattern.cpp') 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; } } -- cgit v1.2.3