Mercurial > hg > Members > kono > Cerium
view TaskManager/Test/test_render/TextureHash.h @ 228:c254a2bd1b34
remove SceneGraph::data, add SceneGraph::coord_xyz, coord_tex, normal
author | gongo@gendarme.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 12 Feb 2009 16:31:38 +0900 |
parents | fc314f28b66e |
children | 51ffd144f62c |
line wrap: on
line source
#ifndef INCLUDED_TEXTURE_HASH #define INCLUDED_TEXTURE_HASH const int TABLE_SIZE = 8192; struct hashtable{ int tx_id; char* key; }; class TextureHash { public: hashtable *table; TextureHash(void); ~TextureHash(void); int hash_function(const char*); int hash_regist(const char*); }; #endif