From: Oliver O. <fr...@us...> - 2007-05-08 03:35:17
|
Update of /cvsroot/simspark/simspark/spark/kerosin/sceneserver In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv27051 Modified Files: Tag: projectx staticmesh.cpp Log Message: - added a method that returns the list of materials used Index: staticmesh.cpp =================================================================== RCS file: /cvsroot/simspark/simspark/spark/kerosin/sceneserver/staticmesh.cpp,v retrieving revision 1.2.2.3 retrieving revision 1.2.2.3.2.1 diff -C2 -d -r1.2.2.3 -r1.2.2.3.2.1 *** staticmesh.cpp 23 Feb 2007 19:21:10 -0000 1.2.2.3 --- staticmesh.cpp 8 May 2007 03:35:14 -0000 1.2.2.3.2.1 *************** *** 228,229 **** --- 228,236 ---- } + + /** returns the materials used to render the mesh */ + const StaticMesh::TMaterialList& + StaticMesh::GetMaterials() const + { + return mMaterials; + } |