Method: CP::Vec2#clamp
- Defined in:
- ext/chipmunk/rb_cpVect.c
#clamp(len) ⇒ Object
227 228 229 230 |
# File 'ext/chipmunk/rb_cpVect.c', line 227 static VALUE rb_cpVectClamp(VALUE self, VALUE len) { return VNEW(cpvclamp(*VGET(self), NUM2DBL(len))); } |