Beispiel #1
0
// TotalImpulse returns the total impulse that was applied by this arbiter.
// This function should only be called from a post-solve, post-step or
// body.EachArbiter callback.
func (a Arbiter) TotalImpulse() Vect {
	return cpVect(C.cpArbiterTotalImpulse(a.c()))
}
Beispiel #2
0
func (a *Arbiter) TotalImpulse() Vect {
	return Vect{C.cpArbiterTotalImpulse(a.CPArbiter)}
}