示例#1
0
// Step makes the space step forward in time by dt seconds.
func (s *Space) Step(dt float64) {
	C.cpSpaceStep(s.c(), C.cpFloat(dt))
}
示例#2
0
文件: chipmunk.go 项目: andrebq/exp
func (s *Space) Step(timeStep float32) {
	C.cpSpaceStep(s.s, f(timeStep))
}