Permalink
Browse files

Updated example to match new callback interface.

  • Loading branch information...
1 parent 21847ff commit 8d53e5c34eb2755cc7a46e345d6d94c89665d339 @paulcoyle committed Apr 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 example/hello_chipmunk.go
@@ -29,7 +29,7 @@ func postStep(space *cp.Space, object interface{}) {
// of these per categorical pair of collision types. That is:
// (a,b) == (b,a)
// where a and b are collision types.
-func beginCollide(space *cp.Space, a *cp.Shape, b *cp.Shape) int {
+func beginCollide(space *cp.Space, arb *cp.Arbiter) int {
fmt.Println("BEGIN COLLISION")
// Uncomment to add a post step callback to remove the ball

0 comments on commit 8d53e5c

Please sign in to comment.