// 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())) }
func (a *Arbiter) TotalImpulse() Vect { return Vect{C.cpArbiterTotalImpulse(a.CPArbiter)} }