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