// EachBody calls a callback function on each body in the space. func (s *Space) EachBody(iter func(Body)) { p := Pointer(&iter) C.space_each_body(s.c(), p) }
// EachBody calls a callback function on each body in the space. func (s Space) EachBody(iter func(Body)) { p := unsafe.Pointer(&iter) C.space_each_body(s.c(), p) }