bool Turret::aim(void) { return _rotate(target.azimuth - _position.azimuth) && _elevate(target.elevation - _position.elevation); }
void rotate(vector<vector<int>>& matrix) { _rotate(matrix,0,0,matrix.size()); }
bool Turret::_rotate(int delta) { return _rotate(delta, false); }