Update of /cvsroot/pure-data/externals/nusmuk/msd2D In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15837/msd2D
Modified Files: main.cpp Log Message: MSD Version 0.05
Index: main.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/nusmuk/msd2D/main.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** main.cpp 28 Apr 2005 15:22:06 -0000 1.8 --- main.cpp 28 Apr 2005 16:03:56 -0000 1.9 *************** *** 300,303 **** --- 300,304 ---- if (GetInt(argv[0]) == (*mi)->nbr) { (*mi)->posX = GetFloat(argv[1]); + (*mi)->posX2 = GetFloat(argv[1]); break; } *************** *** 305,312 **** else for (i=0, mi=mass; i<nb_mass; mi++, i++) ! { ! if (sym == (*mi)->Id) (*mi)->posX = GetFloat(argv[1]); ! } }
--- 306,313 ---- else for (i=0, mi=mass; i<nb_mass; mi++, i++) ! if (sym == (*mi)->Id) { (*mi)->posX = GetFloat(argv[1]); ! (*mi)->posX2 = GetFloat(argv[1]); ! } }
*************** *** 327,330 **** --- 328,332 ---- if (GetInt(argv[0]) == (*mi)->nbr) { (*mi)->posY = GetFloat(argv[1]); + (*mi)->posY2 = GetFloat(argv[1]); break; } *************** *** 332,339 **** else for (i=0, mi=mass; i<nb_mass; mi++, i++) ! { ! if (sym == (*mi)->Id) (*mi)->posY = GetFloat(argv[1]); ! } }
--- 334,341 ---- else for (i=0, mi=mass; i<nb_mass; mi++, i++) ! if (sym == (*mi)->Id) { (*mi)->posY = GetFloat(argv[1]); ! (*mi)->posY2 = GetFloat(argv[1]); ! } }