Marmalade SDK: Exception: Multiply Overflow

Public on October 16, 2012
I was performing some transformations (scaling) on 2D sprites like this:
CIwMat2D matrix;
When I ran the app I received the following exception:
IwAssert failure (GEOM, 350). Message: Multiply overflow
The avoid this exception, you must set your matrix to the Identity matrix before applying transformations on it like this:
CIwMat2D matrix;

[Advertising]Faster Thinking - Speed up your brain

Faster Thinking Game

sentiment_satisfied Emoticon