From e83e67b44032af93db31e042f79c773597581e82 Mon Sep 17 00:00:00 2001 From: Erik Reckase Date: Thu, 16 Jun 2011 05:34:46 -0600 Subject: [PATCH] fixed waves variation. --- cuburn/code/variations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cuburn/code/variations.py b/cuburn/code/variations.py index b2aed05..1446adc 100644 --- a/cuburn/code/variations.py +++ b/cuburn/code/variations.py @@ -130,8 +130,8 @@ var(15, 'waves', """ float dx2 = 1.0f / (dx * dx); float dy2 = 1.0f / (dy * dy); - ox += w * (tx + c10 + sinf(ty * dx2)); - oy += w * (ty + c11 + sinf(tx * dy2)); + ox += w * (tx + c10 * sinf(ty * dx2)); + oy += w * (ty + c11 * sinf(tx * dy2)); """) var(16, 'fisheye', """