Follow-up Comment #3, patch #679 (project wormux):

Thanks a lot! You're right, i didnt read the stuff i commented well
enough.Will code some more to fix these problems. (should be easy enough)
In the submitted code, bouncefrict is sort of 1-m_rebound_factor, but the
difference is that bouncefrict only determines a factor on speeds
perpendicular with the surface. (Wanted to add sliding friction later)
Shall I improve and re-submit? I can make the code so m_rebound is used the
same way as before. (just rebound with bouncefriction==0, and the resulting
speed *= m_rebound_factor)
Hmm looking at the code it says GetSpeed(norme, angle); and then only uses
norme * cos(angle) and norme * sin(angle) (and guess what is stored in memory
:s)
Also, I noticed that for optimising for cpu speed, I dont think i am looking
in the right direction, the drawing part is probably a bigger consumer.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?679>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to