ext/target.c
static
VALUE ray_target_to_image(VALUE self) {
  say_image *image = say_target_to_image(ray_rb2target(self));

  if (!image) {
    rb_raise(rb_eRuntimeError, "%s", say_error_get_last());
  }

  return Data_Wrap_Struct(rb_path2class("Ray::Image"), NULL, say_image_free,
                          image);
}
/*
 * Colors of all the pixels in the target
 * @return [Ray::Image] An image containing all the pixels of the target
 */
Colors of all the pixels in the target
@return [Ray::Image] An image containing all the pixels of the target
Colors of all the pixels in the target @return [ Ray :: Image ] An image containing all the pixels of the target
static
VALUE ray_target_to_image(VALUE self) {
  say_image *image = say_target_to_image(ray_rb2target(self));
  if (!image) {
    rb_raise(rb_eRuntimeError, "%s", say_error_get_last());
  }
  return Data_Wrap_Struct(rb_path2class("Ray::Image"), NULL, say_image_free,
                          image);
}
static VALUE ray_target_to_image ( VALUE self ) { say_image * image = say_target_to_image ( ray_rb2target ( self ) ) ; if ( ! image ) { rb_raise ( rb_eRuntimeError , " " , say_error_get_last ( ) ) ; } return Data_Wrap_Struct ( rb_path2class ( " " ) , NULL , say_image_free , image ) ; }
Colors of all the pixels in the target
 @return [Ray::Image] An image containing all the pixels of the target
Colors of all the pixels in the target @return [ Ray :: Image ] An image containing all the pixels of the target