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