Example #1
0
// RemoveShape removes a collision shape from the simulation.
func (s *Space) RemoveShape(sh Shape) {
	C.cpSpaceRemoveShape(s.c(), sh.c())
}
Example #2
0
func (s *Space) RemoveShape(shape *Shape) {
	C.cpSpaceRemoveShape(s.CPSpace, shape.CPShape)
}