Example #1
0
File: ode.go Project: bfosberry/ode
// Init initializes ODE.
func Init(initFlags, allocFlags int) {
	C.dInitODE2(C.uint(initFlags))
	C.dAllocateODEDataForThread(C.uint(allocFlags))
}
Example #2
0
File: init.go Project: krux02/gode
func AllocateDataForThread(flags AllocateDataFlags) {
	C.dAllocateODEDataForThread(C.uint(flags))
}