Marmalade SDK: Exception: Multiply Overflow
I was performing some transformations (scaling) on 2D sprites like this:
CIwMat2D matrix;When I ran the app I received the following exception:
rot.Scale(IW_FIXED(2));
IwAssert failure (GEOM, 350). Message: Multiply overflow
CIwMat2D matrix;
matrix.SetIdentity();
rot.Scale(IW_FIXED(2));
No comments: