corrected funtion NormalAbs::ImportLocal

This commit is contained in:
Nico Pietroni 2009-10-14 14:25:00 +00:00
parent a60c31845c
commit ea6553f1d5
1 changed files with 6 additions and 1 deletions

View File

@ -243,7 +243,12 @@ public:
NormalType &N() { return _norm; }
NormalType cN() const { return _norm; }
template <class RightF>
void ImportLocal(const RightF & rightF){ N() = rightF.cN(); T::ImportLocal(rightF);}
void ImportLocal(const RightF & rightF)
{
N().Import(rightF.cN());
T::ImportLocal( rightF);
}
inline void Alloc(const int & ns){T::Alloc(ns);}
inline void Dealloc(){T::Dealloc();}
static bool HasFaceNormal() { return true; }