Utils::calcDirection: don't use round