예제 #1
0
// SetIterations sets the number of iterations to use in the impulse solver to solve contacts.
func (s *Space) SetIterations(i int) {
	C.cpSpaceSetIterations(s.c(), C.int(i))
}
예제 #2
0
파일: chipmunk.go 프로젝트: andrebq/exp
func (s *Space) SetIterations(count int) {
	C.cpSpaceSetIterations(s.s, C.int(count))
}