Ejemplo n.º 1
0
// RemoveStaticShape removes a collision shape added using AddStaticShape() from the simulation.
func (s *Space) RemoveStaticShape(sh Shape) {
	C.cpSpaceRemoveStaticShape(s.c(), sh.c())
}
Ejemplo n.º 2
0
func (s *Space) RemoveStaticShape(shape *Shape) {
	C.cpSpaceRemoveStaticShape(s.CPSpace, shape.CPShape)
}