From 6c7d0270ad3763b2651572c6dba2387966cd4bf0 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sat, 11 Jun 2011 17:21:34 -0400 Subject: [PATCH] A few variation fixups --- cuburn/code/variations.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cuburn/code/variations.py b/cuburn/code/variations.py index 05b150e..fb830e1 100644 --- a/cuburn/code/variations.py +++ b/cuburn/code/variations.py @@ -57,15 +57,15 @@ var(7, 'heart', """ float sq = sqrtf(tx*tx + ty*ty); float a = sq * atan2f(tx, ty); float r = w * sq; - ox += r * sinf(a) - oy -= r * cosf(a) + ox += r * sinf(a); + oy -= r * cosf(a); """) var(8, 'disc', """ float a = w * atan2f(tx, ty) * M_1_PI; float r = M_PI * sqrtf(tx*tx + ty*ty); - ox += sinf(r) * a - oy += cosf(r) * a + ox += sinf(r) * a; + oy += cosf(r) * a; """) var(9, 'spiral', """