[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src pingu_action.cxx,1.15,1.16
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src pingu_action.cxx,1.15,1.16 |
Date: |
3 Nov 2002 17:32:27 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv17725
Modified Files:
pingu_action.cxx
Log Message:
some more cleanup
Index: pingu_action.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/pingu_action.cxx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- pingu_action.cxx 3 Nov 2002 14:37:20 -0000 1.15
+++ pingu_action.cxx 3 Nov 2002 17:32:25 -0000 1.16
@@ -106,8 +106,10 @@
// Apply gravity
pingu->set_velocity(pingu->get_velocity() + Vector(0.0f, 1.0f));
+ // FIXME: What does this variable do?
Vector resultant_force = pingu->get_velocity();
+ // FIXME: and what is this all about?! Can't we just use floats?
// Strictly speaking x_numerator should be initialised with
// (resultant_force.y / 2) and y_numerator with (resultant_force.x / 2).
// This would make the algorithm essentially match the Mid-Point Line
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src pingu_action.cxx,1.15,1.16,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src Makefile.am,1.119,1.120 pingu_action.cxx,1.14,1.15 world.cxx,1.32,1.33
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/actions bomber.cxx,1.24,1.25 faller.cxx,1.32,1.33
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src Makefile.am,1.119,1.120 pingu_action.cxx,1.14,1.15 world.cxx,1.32,1.33
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/actions bomber.cxx,1.24,1.25 faller.cxx,1.32,1.33
- Index(es):