Import Geant4 10.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2017-12-08 12:52:30 +01:00
parent 98e455a940
commit fc6af9e721
2166 changed files with 276760 additions and 100873 deletions
@@ -234,6 +234,7 @@ public:
std::map<ibo*,uint32>::const_iterator it = m_objs.find((ibo*)&a_obj);
if(it!=m_objs.end()) {
uint32 objIdx = (*it).second;
unsigned int offset = (unsigned int)(m_pos-m_buffer);
@@ -331,6 +332,10 @@ public:
return true;
}
void reset_objs_map() {
m_objs.clear();
//m_clss.clear();
}
protected:
static short kMaxVersion() {return 0x3FFF;}
static uint32 kMaxMapCount() {return 0x3FFFFFFE;}