ext/view.c
static
VALUE ray_view_set_viewport(VALUE self, VALUE val) {
  rb_check_frozen(self);
  say_view_set_viewport(ray_rb2view(self), ray_convert_to_rect(val));
  return val;
}
/*
 * @overload viewport=(rect)
 *   Sets the region of the world where rendering will be done
 *
 *   All the components of the rects are values between 0 and 1, allowing to use
 *   the same rect for two targets of different size
 *
 *   @param [Ray::Rect] rect
 */
@overload viewport=(rect)
Sets the region of the world where rendering will be done

All the components of the rects are values between 0 and 1, allowing to use
the same rect for two targets of different size

@param [Ray::Rect] rect
@overload viewport = ( rect ) Sets the region of the world where rendering will be done All the components of the rects are values between 0 and 1 allowing to use the same rect for two targets of different size @param [ Ray :: Rect ] rect
static
VALUE ray_view_set_viewport(VALUE self, VALUE val) {
  rb_check_frozen(self);
  say_view_set_viewport(ray_rb2view(self), ray_convert_to_rect(val));
  return val;
}
static VALUE ray_view_set_viewport ( VALUE self , VALUE val ) { rb_check_frozen ( self ) ; say_view_set_viewport ( ray_rb2view ( self ) , ray_convert_to_rect ( val ) ) ; return val ; }
@overload viewport=(rect)
   Sets the region of the world where rendering will be done
@overload viewport = ( rect ) Sets the region of the world where rendering will be done