Mercurial > hg > Members > e085722 > Cerium
view include/Cerium/hash_texture.h @ 0:04e28d8d3c6f
first commit
author | Daiki KINJYO <e085722@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Nov 2010 01:23:25 +0900 |
parents | |
children |
line wrap: on
line source
#ifndef HASH_TEXTURE_H #define HASH_TEXTURE_H 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*); }; #endif