On 27.09.2012 09:57, Nozomi Kodama wrote:
-    FLOAT a[64], b[64], got;
+    FLOAT a[49], b[49], got;
      CONST FLOAT expected[] =
      { 0.5f, 0.5f, 25.0f, 262.5f, 1428.0f, 5362.0f, 15873.0f, 39812.0f, 
88400.0f, };

-    for (i = 0; i < 64; i++)
+    for (i = 0; i < 49; i++)

-    for (i = 0; i < 9; i++)
+    for (i = 0; i <= D3DXSH_MAXORDER + 1; i++)

Again: You may correct the (array) size for the expected value ...

If we run til element 7 instead of 8, I think the last element could be thrown away?

Cheers
Rico


Reply via email to