08.09.2012, 16:55
Whats wrong in this check?
I want to check, if vX is 0.0, -0.0, or 0.01, vY is 0.0, -0.0, or 0.01, and vZ is 0.0, -0.0, or 0.01
pawn Код:
if ((vX == 0.0 || vX == -0.0 || vX == 0.01) && (vY == 0.0 || vY == -0.0 || vY == 0.01) && (vZ == 0.0 || vZ == -0.0 || vZ == 0.01))