// EachShape calls a callback function on each shape in the space. func (s *Space) EachShape(iter func(Shape)) { p := Pointer(&iter) C.space_each_shape(s.c(), p) }
// EachShape calls a callback function on each shape in the space. func (s Space) EachShape(iter func(Shape)) { p := unsafe.Pointer(&iter) C.space_each_shape(s.c(), p) }