Yet against cr lf mismatch

This commit is contained in:
Paolo Cignoni 2004-03-03 14:22:48 +00:00
parent f61873646f
commit 86786bc121
1 changed files with 479 additions and 476 deletions

View File

@ -24,6 +24,9 @@
History
$Log: not supported by cvs2svn $
Revision 1.12 2004/02/23 23:42:26 cignoni
Translated comments, removed unusued stuff. corrected linefeed/cr
Revision 1.11 2004/02/19 16:12:28 cignoni
cr lf mismatch 2
@ -263,7 +266,7 @@ public:
// Normalizzazione
inline Point3 & Normalize()
{
P3ScalarType n = Sqrt(_v[0]*_v[0] + _v[1]*_v[1] + _v[2]*_v[2]);
P3ScalarType n = math::Sqrt(_v[0]*_v[0] + _v[1]*_v[1] + _v[2]*_v[2]);
if(n>0.0) { _v[0] /= n; _v[1] /= n; _v[2] /= n; }
return *this;
}