Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
-24
View File
@@ -52,32 +52,8 @@ public:
void value(mat4f& a_m) const {parent::value(a_m);}
void set_value(const mat4f& a_m) {parent::set_value(a_m,::sqrtf);}
//NOTE : don't handle a static object because of mem balance.
//static const rotf& identity() {
// static const rotf s_v(0,0,0,1);
// return s_v;
//}
};
}
#include <sstream>
namespace tools {
inline bool tos(const rotf& a_v,std::string& a_s) {
vec3f axis;
float angle = 0;
if(!a_v.value(axis,angle)) {a_s.clear();return false;}
std::ostringstream strm;
strm << axis[0] << " "
<< axis[1] << " "
<< axis[2] << " "
<< angle;
a_s = strm.str();
return true;
}
}
#endif