From 5ee16ee977be7644046c6827a83972a3e1d2e427 Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab <paolo.cignoni@isti.cnr.it> Date: Thu, 20 Nov 2008 13:27:50 +0000 Subject: [PATCH] Removed unused static field max_band --- vcg/math/spherical_harmonics.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vcg/math/spherical_harmonics.h b/vcg/math/spherical_harmonics.h index f2436d99..08ede9a9 100644 --- a/vcg/math/spherical_harmonics.h +++ b/vcg/math/spherical_harmonics.h @@ -66,7 +66,6 @@ private : } ScalarType coefficients[MAX_BAND * MAX_BAND]; - static const int max_band = MAX_BAND; public : @@ -116,7 +115,7 @@ public : ScalarType theta = 2.0 * Acos(Sqrt(1.0 - x)); ScalarType phi = 2.0 * M_PI * y; - for (int l = 0; l < (int)max_band; ++l) + for (int l = 0; l < (int)MAX_BAND; ++l) { for (int m = -l; m <= l; ++m) { @@ -141,7 +140,7 @@ public : { ScalarType f = 0; - for (int l = 0; l < max_band; ++l) + for (int l = 0; l < MAX_BAND; ++l) { for (int m = -l; m <= l; ++m) {