[Bf-committers] Casting arrays (matrices)

Ton Roosendaal bf-committers@blender.org
Wed, 2 Jul 2003 14:47:42 +0200


(how to do a float* to float[3][3] cast)

Reading the arithb.c code, I found that someone (NaN) has included a  
lot of 'const' variables in the function declarations. I have  
absolutely no clue what it's good for. Originally, the code worked fine  
without, as still is in the MTC_matrixops.c version in  

I've removed the 'const' everywhere from arithb.c. The code compiles  
quite a lot faster, with only a few and more useful warnings left.

Will commit this today.


Ton Roosendaal  Blender Foundation ton@blender.org