i was coding something while i stopped 1 hours on some simple math problem...
at first i thought i was doing something wrong but after a while i realized this
float x = eng->mWidth;
float y = eng->mHeight;
returned 0 in x... i had to resolve this way
float xx = eng->mWidth;
float yy = eng->mHeight;
float x = (800 / xx);
float y = (200 / yy);
and everything worked...
can someone explain to me while i cannot include a member of another class in an equation?? did i do something wrong??? please help me understand...