ext/drawable.c
static
VALUE ray_drawable_set_matrix(VALUE self, VALUE val) {
  say_drawable *drawable = ray_rb2drawable(self);

  if (NIL_P(val))
    say_drawable_set_matrix(drawable, NULL);
  else
    say_drawable_set_matrix(drawable, ray_rb2matrix(val));

  return val;
}
/*
 *  @overload matrix=(val)
 *    Sets the current matrix to a custom one, making Ray ignore attributes
 *    setting that change the transformation matrix.
 *
 *    Setting this to nil will cause Ray to start using the actual
 *    transformation matrix.
 *
 *    @param [Ray::Matrix, nil] val
 */
@overload matrix=(val)
Sets the current matrix to a custom one, making Ray ignore attributes
setting that change the transformation matrix.

Setting this to nil will cause Ray to start using the actual
transformation matrix.

@param [Ray::Matrix, nil] val
@overload matrix = ( val ) Sets the current matrix to a custom one making Ray ignore attributes setting that change the transformation matrix . Setting this to nil will cause Ray to start using the actual transformation matrix . @param [ Ray :: Matrix nil ] val
static
VALUE ray_drawable_set_matrix(VALUE self, VALUE val) {
  say_drawable *drawable = ray_rb2drawable(self);
  if (NIL_P(val))
    say_drawable_set_matrix(drawable, NULL);
  else
    say_drawable_set_matrix(drawable, ray_rb2matrix(val));
  return val;
}
static VALUE ray_drawable_set_matrix ( VALUE self , VALUE val ) { say_drawable * drawable = ray_rb2drawable ( self ) ; if ( NIL_P ( val ) ) say_drawable_set_matrix ( drawable , NULL ) ; else say_drawable_set_matrix ( drawable , ray_rb2matrix ( val ) ) ; return val ; }
@overload matrix=(val)
    Sets the current matrix to a custom one, making Ray ignore attributes
    setting that change the transformation matrix.
@overload matrix = ( val ) Sets the current matrix to a custom one making Ray ignore attributes setting that change the transformation matrix .