Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Give the depth method the proper name. #9

Closed
wants to merge 1 commit into from

2 participants

@MichaelBaker

I think the problem with Arbiter#normal was that the normal method got overridden with the depth method. I've given the depth method the proper name.

@beoran
Owner

Thanks for the pull request, but I already patched it myself. Sorry if this inconveniencec you somehow. And thanks again for the report!

@beoran beoran closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 15, 2011
  1. @MichaelBaker
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/chipmunk/rb_cpArbiter.c
View
2  ext/chipmunk/rb_cpArbiter.c
@@ -262,7 +262,7 @@ Init_cpArbiter(void) {
rb_define_method(c_cpArbiter, "point", rb_cpArbiterGetPoint, 1);
rb_define_method(c_cpArbiter, "normal", rb_cpArbiterGetNormal, 1);
- rb_define_method(c_cpArbiter, "normal", rb_cpArbiterGetDepth, 1);
+ rb_define_method(c_cpArbiter, "depth", rb_cpArbiterGetDepth, 1);
rb_define_method(c_cpArbiter, "impulse", rb_cpArbiterGetImpulse, -1);
rb_define_method(c_cpArbiter, "to_s", rb_cpArbiterToString, 0);
Something went wrong with that request. Please try again.