Module: Kernel

Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#vec2(x, y) ⇒ Object



252
253
254
255
# File 'ext/chipmunk/rb_cpVect.c', line 252

static VALUE
rb_vec2(VALUE self, VALUE x, VALUE y) {
  return VNEW(cpv(NUM2DBL(x), NUM2DBL(y)));
}