ext/view.c
static
VALUE ray_view_set_matrix(VALUE self, VALUE val) {
  rb_check_frozen(self);

  if (NIL_P(val))
    say_view_set_matrix(ray_rb2view(self), NULL);
  else
    say_view_set_matrix(ray_rb2view(self), ray_rb2matrix(val));

  return val;
}
/*
 * @overload matrix=(mat)
 *   Sets the projection matrix
 *
 *   Setting the projection matrix causes the center and the size of the view to
 *   be ignored. Passing nil would cancel this.
 *
 *   @param [Ray::Matrix, nil] mat New matrix
 */
@overload matrix=(mat)
Sets the projection matrix

Setting the projection matrix causes the center and the size of the view to
be ignored. Passing nil would cancel this.

@param [Ray::Matrix, nil] mat New matrix
@overload matrix = ( mat ) Sets the projection matrix Setting the projection matrix causes the center and the size of the view to be ignored . Passing nil would cancel this . @param [ Ray :: Matrix nil ] mat New matrix
static
VALUE ray_view_set_matrix(VALUE self, VALUE val) {
  rb_check_frozen(self);
  if (NIL_P(val))
    say_view_set_matrix(ray_rb2view(self), NULL);
  else
    say_view_set_matrix(ray_rb2view(self), ray_rb2matrix(val));
  return val;
}
static VALUE ray_view_set_matrix ( VALUE self , VALUE val ) { rb_check_frozen ( self ) ; if ( NIL_P ( val ) ) say_view_set_matrix ( ray_rb2view ( self ) , NULL ) ; else say_view_set_matrix ( ray_rb2view ( self ) , ray_rb2matrix ( val ) ) ; return val ; }
@overload matrix=(mat)
   Sets the projection matrix
@overload matrix = ( mat ) Sets the projection matrix