Update of /cvsroot/simspark/simspark/spark/kerosin/sceneserver
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv26661
Modified Files:
Tag: projectx
staticmesh.h
Log Message:
- added a method that returns the list of materials used
Index: staticmesh.h
===================================================================
RCS file: /cvsroot/simspark/simspark/spark/kerosin/sceneserver/staticmesh.h,v
retrieving revision 1.1
retrieving revision 1.1.4.1
diff -C2 -d -r1.1 -r1.1.4.1
*** staticmesh.h 5 Dec 2005 21:38:23 -0000 1.1
--- staticmesh.h 8 May 2007 03:34:25 -0000 1.1.4.1
***************
*** 42,46 ****
public:
typedef std::vector<oxygen::IndexBuffer> TIndexBuffers;
!
//
// Function
--- 42,46 ----
public:
typedef std::vector<oxygen::IndexBuffer> TIndexBuffers;
! typedef std::vector<boost::shared_ptr<Material> > TMaterialList;
//
// Function
***************
*** 83,86 ****
--- 83,88 ----
const zeitgeist::ParameterList& GetMeshParameter();
+ /** returns the materials used to render the mesh */
+ const TMaterialList& GetMaterials() const;
//
// Members
***************
*** 94,98 ****
/** the materials used to render the mesh */
! std::vector<boost::shared_ptr<Material> > mMaterials;
/** the name of the loaded mesh */
--- 96,100 ----
/** the materials used to render the mesh */
! TMaterialList mMaterials;
/** the name of the loaded mesh */
|