Method: CP::Vec2#x=

Defined in:
ext/chipmunk/rb_cpVect.c

#x=(x) ⇒ Object



60
61
62
63
64
# File 'ext/chipmunk/rb_cpVect.c', line 60

static VALUE
rb_cpVectSetX(VALUE self, VALUE x) {
  VGET(self)->x = NUM2DBL(x);
  return self;
}