project-imprimis / libprimis

Libprimis: Imprimis' 3D destroyable world engine
https://project-imprimis.github.io/libprimis/index.html
Other
29 stars 8 forks source link

removal of `hashtable`s and everything based on `hashbase` from tools.h #262

Open Duskhorn opened 1 year ago

Duskhorn commented 1 year ago

Attempt to close Issue #257 Remade from #258

Duskhorn commented 1 year ago

Right now I just have 3 hashtables left.

  1. hashtable<vec, int> share; in animmodel.h:144
  2. hashtable<ivec, int> verthash(1<<11); in obj.cpp:75
  3. static hashtable<cfkey, cfpolys> cpolys; in octacube.cpp:718

For the first two, we either go the std::hash route or we reimplement them. For the thrid one, I'm not sure

Duskhorn commented 1 year ago

sooo what do we do about this?