[Alliance CVS] pcs2 matrix.h, 1.2, 1.3 oplinkedlist.h, 1.1, NONE opstack.h, 1.1, NONE
Status: Pre-Alpha
Brought to you by:
kazan
From: <ka...@us...> - 2008-11-08 15:20:45
|
Update of /cvsroot/alliance/pcs2 In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16161 Modified Files: matrix.h Removed Files: oplinkedlist.h opstack.h Log Message: remove my old linkedlist/stack classes that i wrote and got in the habit of using before becoming familiar with the standard library (since it didn't exist when i started writing C++) Index: matrix.h =================================================================== RCS file: /cvsroot/alliance/pcs2/matrix.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** matrix.h 24 Jun 2007 04:44:12 -0000 1.2 --- matrix.h 8 Nov 2008 15:20:34 -0000 1.3 *************** *** 28,32 **** #include <memory.h> #include <math.h> ! #include "opstack.h" // as pointer to this _CAN_ be cast to _D3DMATRIX* --- 28,32 ---- #include <memory.h> #include <math.h> ! #include <stack> // as pointer to this _CAN_ be cast to _D3DMATRIX* *************** *** 48,52 **** private: m4x4 myMatrix; ! opstack<m4x4> matrixStack; public: matrix_4x4() // sets up the matrix as an identity matrix --- 48,52 ---- private: m4x4 myMatrix; ! std::stack<m4x4> matrixStack; public: matrix_4x4() // sets up the matrix as an identity matrix *************** *** 96,103 **** // matrix stack void PushMatrix() ! { matrixStack.Push(myMatrix); } void PopMatrix() ! { matrixStack.Pop(myMatrix); } --- 96,103 ---- // matrix stack void PushMatrix() ! { matrixStack.push(myMatrix); } void PopMatrix() ! { myMatrix = matrixStack.top(); matrixStack.pop(); } --- oplinkedlist.h DELETED --- --- opstack.h DELETED --- |