Explorar el Código

proper use of phash_map

David Rose hace 19 años
padre
commit
d596a4a2af
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      pandatool/src/mayaegg/mayaEggLoader.cxx

+ 3 - 3
pandatool/src/mayaegg/mayaEggLoader.cxx

@@ -86,9 +86,9 @@ public:
   MayaEggTex   *GetTex(const string &name, const string &fn);
   void          CreateSkinCluster(MayaEggMesh *M);
 
-  typedef phash_map<EggVertexPool *, MayaEggMesh *> MeshTable;
-  typedef phash_map<EggGroup *, MayaEggJoint *> JointTable;
-  typedef phash_map<string, MayaEggTex *> TexTable;
+  typedef phash_map<EggVertexPool *, MayaEggMesh *, pointer_hash> MeshTable;
+  typedef phash_map<EggGroup *, MayaEggJoint *, pointer_hash> JointTable;
+  typedef phash_map<string, MayaEggTex *, string_hash> TexTable;
 
   MeshTable        _mesh_tab;
   JointTable       _joint_tab;