Beispiel #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))
}
Beispiel #2
0
func (s *Space) SetIterations(count int) {
	C.cpSpaceSetIterations(s.s, C.int(count))
}