[Bf-committers] Casting arrays (matrices)
Jacques Guignot
bf-committers@blender.org
Wed, 02 Jul 2003 22:27:04 +0000
Maarten Gribnau wrote:
> How does the const cause trouble?
> The const is actually useful. It tells you the function is not going
> to modify the variable (usually pointers and references in C++) passed
> to it. It makes the variable an "in only" variable.
The const ---was--- pretty useful ages ago. Now, these functions have
been called zillions times, we can be absolutely sure that they don't
try to modify their arguments...