From: Daniel A. <cor...@us...> - 2002-04-15 23:09:35
|
Update of /cvsroot/planeshift/planeshift/src/common/psprop/imp In directory usw-pr-cvs1:/tmp/cvs-serv26624/src/common/psprop/imp Modified Files: pslinmove.cpp Log Message: updates Index: pslinmove.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/psprop/imp/pslinmove.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** pslinmove.cpp 15 Apr 2002 22:58:19 -0000 1.16 --- pslinmove.cpp 15 Apr 2002 23:09:32 -0000 1.17 *************** *** 17,22 **** * */ ! #include <config.h> ! #include <math.h> //CS includes --- 17,21 ---- * */ ! #include <config.h> //CS includes *************** *** 45,49 **** // PS Includes #include "psprop/pc/pspclinmove.h" ! #include "pslinmove.h" CS_IMPLEMENT_PLUGIN --- 44,48 ---- // PS Includes #include "psprop/pc/pspclinmove.h" ! #include "pslinmove.h" CS_IMPLEMENT_PLUGIN *************** *** 683,691 **** if (ABS(ax-ay) < 0.01) return ax; ! ax = 2*M_PI - ax; if (ABS(ax-ay) < 0.01) return ax; ! return (5./2.)*M_PI - ay; } --- 682,690 ---- if (ABS(ax-ay) < 0.01) return ax; ! ax = 2*PI - ax; if (ABS(ax-ay) < 0.01) return ax; ! return (5./2.)*PI - ay; } |