Method: Ray::GL::IntArray#clear

Defined in:
ext/gl_int_array.c

#clearObject

Removes all the elements from the array



113
114
115
116
117
# File 'ext/gl_int_array.c', line 113

static
VALUE ray_int_array_clear(VALUE self) {
  say_array_resize(ray_rb2int_array(self), 0);
  return self;
}