Thread Previous • Date Previous • Date Next • Thread Next |
06.12.2010 21:05, Václav Šmilauer пишет:
I was looking at the State class, and it seems to me some attributes (below) are not needed.I don't think we need accel and angAccel (grep the code to make sure, however), so you can go ahead I think. For refPos and refOri, they are used in the rendering code and some other functions. While you are cleaning up, there is also superfluous FrictPhys.frictionAngle (only the tangent is needed in computations I would think). v.Any reason to not get rid of them?Bruno ((Vector3r,accel,Vector3r::Zero(),,"Current acceleration.")) ((Vector3r,angAccel,Vector3r::Zero(),,"Current angular acceleration")) ((Vector3r,refPos,Vector3r::Zero(),,"Reference position")) ((Quaternionr,refOri,Quaternionr::Identity(),,"Reference orientation"))
For accel and angAccel see NewtonIntegrator. -- Best regards, Sergei D.
Thread Previous • Date Previous • Date Next • Thread Next |