Method: CP::BB#intersect_segment?

Defined in:
ext/chipmunk/rb_cpBB.c

#intersect_segment?(a, b) ⇒ Boolean

Returns:

  • (Boolean)


110
111
112
113
114
# File 'ext/chipmunk/rb_cpBB.c', line 110

static VALUE
rb_cpBBIntersectsSegment(VALUE self, VALUE a, VALUE b) {
  int value = cpBBIntersectsSegment(*BBGET(self), *VGET(a), *VGET(b));
  return CP_INT_BOOL(value);
}