hey, is this code:
if(m_velocity.x == 0)
return 0;
return ToDegrees(atan(m_velocity.y/m_velocity.x));
any more efficient than this code:
if(m_velocity.x == 0)
return 0;
else
return ToDegrees(atan(m_velocity.y/m_velocity.x));
I.e., are we saving any time by omitting the else statement?