Searched refs:rotChange1 (Results 1 – 1 of 1) sorted by relevance
287 double rotChange1 = (c2->rotationVelocity - c1->rotationVelocity) * 0.5; in update() local290 …c1->rotationVelocity = friction * (rotChange2 - rotChange1) + (1.0 - friction) * c1->rotationVeloc… in update()291 …c2->rotationVelocity = friction * (rotChange2 + rotChange1) + (1.0 - friction) * c2->rotationVeloc… in update()