Method: Ray::Polygon#initialize_copy

Defined in:
ext/polygon.c

#initialize_copy(other) ⇒ Object



29
30
31
32
33
34
# File 'ext/polygon.c', line 29

static
VALUE ray_polygon_init_copy(VALUE self, VALUE other) {
  say_polygon_copy(ray_rb2polygon(self), ray_rb2polygon(other));
  ray_drawable_copy_attr(self, other);
  return self;
}