view TaskManager/Test/test_render/hash_texture.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 25c820b6060e
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*);
};