It users mod for direction too, which is pretty useful if you want to always set an objects direction to its current direction +1/-1 to make it rotate.