Mercurial > hg > Members > kono > Cerium
view Renderer/test_render/hash_texture.h @ 542:4bd51a6f6d08
merge
author | tkaito@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Wed, 21 Oct 2009 20:41:03 +0900 |
parents | 55ea4465b1a2 |
children |
line wrap: on
line source
const int N = 8192; struct hashtable{ int tx_id; char* key; }; class TextureHash { hashtable table[N]; public: hash(void); int hash_function(const char*); int hash_regist(const char*); };