|
From: julien r. <jul...@us...> - 2004-09-27 15:17:41
|
Update of /cvsroot/epfl/tgengine-0.1 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27298 Modified Files: Changelog physicengine.cc Log Message: modification du changelog Index: physicengine.cc =================================================================== RCS file: /cvsroot/epfl/tgengine-0.1/physicengine.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** physicengine.cc 27 Sep 2004 14:45:59 -0000 1.5 --- physicengine.cc 27 Sep 2004 15:17:28 -0000 1.6 *************** *** 112,121 **** Vector3 vUpVelocity = n->vVelocity; Vector3 vPos = n->GetPosition(); ! Vector3 vUpPos = n->GetPosition() + (Vector3::UNIT_Y*5); StepSlideMove (n, eTime, vVelocity, vPos); ! float dist = (vVelocity - vPos).Magnitude(); StepSlideMove (n, eTime, vVelocity, vUpPos); ! float updist = (vUpVelocity - vUpPos).Magnitude(); //FIXME: ON DOIT CALCULER LA DISTANCE SUR LES X ET Z, ___SANS___ Y if (updist > dist) --- 112,133 ---- Vector3 vUpVelocity = n->vVelocity; Vector3 vPos = n->GetPosition(); ! Vector3 vUpPos = n->GetPosition() + (Vector3::UNIT_Y*50); ! float distx, distz; ! StepSlideMove (n, eTime, vVelocity, vPos); ! distx = (vVelocity.x - vPos.x); ! distx *= distx; ! distz = (vVelocity.z - vPos.z); ! distz *= distz; ! float dist = sqrt(distx+distz); ! StepSlideMove (n, eTime, vVelocity, vUpPos); ! distx = (vVelocity.x - vPos.x); ! distx *= distx; ! distz = (vVelocity.z - vPos.z); ! distz *= distz; ! float updist = sqrt(distx+distz); ! //FIXME: ON DOIT CALCULER LA DISTANCE SUR LES X ET Z, ___SANS___ Y if (updist > dist) Index: Changelog =================================================================== RCS file: /cvsroot/epfl/tgengine-0.1/Changelog,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** Changelog 26 Sep 2004 13:15:24 -0000 1.1.1.1 --- Changelog 27 Sep 2004 15:17:28 -0000 1.2 *************** *** 1,4 **** --- 1,26 ---- --------------- + 27 septembre 2004 + Silver + Krtek + --------------- + * code cleaning (plus de warnings à la compilation) + + --------------- + 26 septembre 2004 + Silver + --------------- + * gestion little/big endian via des classes LittleEndian/BigEndian (fichier + endian.h) + + --------------- + 24 septembre 2004 + Silver + --------------- + * update du cvs avec les dernieres sources + * en vrac, support du bsp, des md5 version 10 (finale) de doom3 + + --------------- 23 juin 2004 + Silver --------------- * ajout d'un TextureManager. Evite qu'il y ait plusieurs fois la même texture chargée en mémoire. De même, si |