code: function(size) {
      return function limitResolution(params) {
        var height = params.height;
        if (height) {
          var requiredPixels = pixelRatio() * height;
          var minFov = 2 * Math.atan(requiredPixels / size);
          params.fov = clamp(params.fov, minFov, Infinity);
        }
        return params;
      };
    }
docs: Returns a view limiter that prevents zooming in beyond the given
  resolution.
  @param {number} size The cube face width in pixels or, equivalently, one
  fourth of the equirectangular width in pixels.
  @return {RectilinearViewLimiter}