public void Rotate(ILocatable loc, float ddegs) { _pos = _pos.RotateAround(loc, ddegs); LookAt = LookAt.RotateAround(loc, ddegs); Pos3d = _pos.ToPositionAboveSeaLeveld(_altitude); LookAt3d = LookAt.ToPositionAboveSeaLeveld(0); Dirty = true; }
public void Rotate(ILocatable loc, float ddegs) { _pos = _pos.RotateAround(loc, ddegs); LookAt = LookAt.RotateAround(loc, ddegs); Pos3d = _pos.ToPositionAboveSeaLeveld(_altitude); LookAt3d = LookAt.ToPositionAboveSeaLeveld(0); Dirty = true; }