Import Geant4 11.4.0 source tree
This commit is contained in:
@@ -55,8 +55,6 @@ public: //operators
|
||||
return vec2f(-m_data[0],-m_data[1]);
|
||||
}
|
||||
public:
|
||||
#define TOOLS_VEC2F_MORE_PREC
|
||||
#ifdef TOOLS_VEC2F_MORE_PREC
|
||||
float length() const {
|
||||
return float(::sqrt(m_data[0]*m_data[0]+m_data[1]*m_data[1]));
|
||||
}
|
||||
@@ -66,10 +64,6 @@ public:
|
||||
divide(norme);
|
||||
return norme;
|
||||
}
|
||||
#else
|
||||
float length() const {return parent::length(::sqrtf);}
|
||||
float normalize() {return parent::normalize(::sqrtf);}
|
||||
#endif
|
||||
public: //iv2sg
|
||||
bool equals(const vec2f& a_v,const float a_epsil) const {
|
||||
//if(a_epsil<0.0f))
|
||||
|
||||
Reference in New Issue
Block a user