コード例 #1
0
ファイル: space.go プロジェクト: ftrvxmtrx/gochipmunk
// RemoveStaticShape removes a collision shape added using AddStaticShape() from the simulation.
func (s *Space) RemoveStaticShape(sh Shape) {
	C.cpSpaceRemoveStaticShape(s.c(), sh.c())
}
コード例 #2
0
ファイル: space.go プロジェクト: paulcoyle/gochipmunk
func (s *Space) RemoveStaticShape(shape *Shape) {
	C.cpSpaceRemoveStaticShape(s.CPSpace, shape.CPShape)
}