From e05d43fc5738fdaf68e08f05aa78597b43e8ffef Mon Sep 17 00:00:00 2001 From: Erik Reckase Date: Thu, 16 Jun 2011 06:50:26 -0600 Subject: [PATCH] fixed pie variation. --- cuburn/code/variations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuburn/code/variations.py b/cuburn/code/variations.py index 1446adc..c1f12b1 100644 --- a/cuburn/code/variations.py +++ b/cuburn/code/variations.py @@ -327,7 +327,7 @@ var(37, 'pie', """ float slices = {{px.get('xf.pie_slices')}}; float sl = truncf(mwc_next_01(rctx) * slices + 0.5f); float a = {{px.get('xf.pie_rotation')}} + - 2.0f * M_PI * (sl + mwc_next_01(rctx) + {{px.get('xf.pie_thickness')}}) / slices; + 2.0f * M_PI * (sl + mwc_next_01(rctx) * {{px.get('xf.pie_thickness')}}) / slices; float r = w * mwc_next_01(rctx); ox += r * cosf(a); oy += r * sinf(a);