Update of /cvsroot/pure-data/externals/nusmuk/msd3D In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25814/nusmuk/msd3D
Modified Files: main.cpp package.txt Log Message: generalized 1,2,3 dimensions into templates log(O(n)) search for symbols and indices many optimizations fixed memory leaks better error reporting dependent on flext 0.5.0
Index: package.txt =================================================================== RCS file: /cvsroot/pure-data/externals/nusmuk/msd3D/package.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** package.txt 12 Apr 2005 16:34:32 -0000 1.1 --- package.txt 2 May 2005 15:39:23 -0000 1.2 *************** *** 1,2 **** ! NAME=msd3D ! SRCS=main.cpp --- 1,4 ---- ! NAME=msd3D ! SRCS=main.cpp ! HDRS=../msd.h !
Index: main.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/nusmuk/msd3D/main.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main.cpp 29 Apr 2005 17:45:46 -0000 1.10 --- main.cpp 2 May 2005 15:39:14 -0000 1.11 *************** *** 1,1126 ****
! ! /* ! msd3D - mass spring damper model for Pure Data or Max/MSP ! ! Copyright (C) 2005 Nicolas Montgermont ! Written by Nicolas Montgermont for a Master's train in Acoustic, ! Signal processing and Computing Applied to Music (ATIAM, Paris 6) ! at La Kitchen supervised by Cyrille Henry. ! [...1100 lines suppressed...] ! const t_symbol *msd3D::S_linksPos = MakeSymbol("linksPos"); ! const t_symbol *msd3D::S_linksPosNo = MakeSymbol("linksPosNo"); ! const t_symbol *msd3D::S_linksPosId = MakeSymbol("linksPosId"); ! const t_symbol *msd3D::S_massesForces = MakeSymbol("massesForces"); ! const t_symbol *msd3D::S_massesForcesNo = MakeSymbol("massesForcesNo"); ! const t_symbol *msd3D::S_massesForcesId = MakeSymbol("massesForcesId"); ! const t_symbol *msd3D::S_massesSpeeds = MakeSymbol("massesSpeeds"); ! const t_symbol *msd3D::S_massesSpeedsNo = MakeSymbol("massesSpeedsNo"); ! const t_symbol *msd3D::S_massesSpeedsId = MakeSymbol("massesSpeedsId"); ! const t_symbol *msd3D::S_massesPosL = MakeSymbol("massesPosL"); ! const t_symbol *msd3D::S_massesForcesL = MakeSymbol("massesForcesL"); ! ! // instantiate the class (constructor has a variable argument list) ! FLEXT_NEW_V("msd3D",msd3D) ! ! --- 1,3 ---- + #include "../msd.h"
! MSD("msd3D",msd3D,3)