| # | Line 140 | Line 140 | double Restraints::Calc_Restraint_Forces(vector<StuntD | |
|---|---|---|
| 140 | double tempPotent; | |
| 141 | double factor; | |
| 142 | double spaceTrq[3]; | |
| 143 | + | double omegaPass; |
| 144 | double omega; | |
| 145 | ||
| 146 | tolerance = 5.72957795131e-7; | |
| # | Line 154 | Line 155 | double Restraints::Calc_Restraint_Forces(vector<StuntD | |
| 155 | vecParticles[i]->getA(A); | |
| 156 | Calc_rVal( pos, i ); | |
| 157 | Calc_body_thetaVal( A, i ); | |
| 158 | < | vecParticles[i]->getZangle(omega); |
| 159 | < | Calc_body_omegaVal( A, omega ); |
| 158 | > | omegaPass = vecParticles[i]->getZangle(); |
| 159 | > | Calc_body_omegaVal( A, omegaPass ); |
| 160 | ||
| 161 | if (omega > PI || omega < -PI) | |
| 162 | cout << "oops... " << omega << "\n"; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |