cr lf mismatch
This commit is contained in:
parent
2a7b7cd304
commit
e5dbdbe05c
|
@ -23,9 +23,9 @@
|
|||
/****************************************************************************
|
||||
History
|
||||
|
||||
$Log: not supported by cvs2svn $
|
||||
Revision 1.8 2004/02/19 15:13:40 cignoni
|
||||
corrected sqrt and added doxygen groups
|
||||
$Log: not supported by cvs2svn $
|
||||
Revision 1.8 2004/02/19 15:13:40 cignoni
|
||||
corrected sqrt and added doxygen groups
|
||||
|
||||
Revision 1.7 2004/02/17 02:08:47 cignoni
|
||||
Di prova...
|
||||
|
@ -38,14 +38,6 @@ Edited Comments and GPL license
|
|||
|
||||
Revision 1.4 2004/02/09 13:48:02 cignoni
|
||||
Edited doxygen comments
|
||||
|
||||
Revision 1.3 2004/02/06 02:25:54 cignoni
|
||||
First working release.
|
||||
|
||||
Revision 1.2 2004/02/06 02:17:09 cignoni
|
||||
First commit...
|
||||
|
||||
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __VCGLIB_POINT3
|
||||
|
@ -239,7 +231,7 @@ public:
|
|||
// Norme
|
||||
inline P3ScalarType Norm() const
|
||||
{
|
||||
return Math<P3ScalarType>::Sqrt( _v[0]*_v[0] + _v[1]*_v[1] + _v[2]*_v[2] );
|
||||
return Sqrt( _v[0]*_v[0] + _v[1]*_v[1] + _v[2]*_v[2] );
|
||||
}
|
||||
inline P3ScalarType SquaredNorm() const
|
||||
{
|
||||
|
@ -264,7 +256,7 @@ public:
|
|||
// Normalizzazione
|
||||
inline Point3 & Normalize()
|
||||
{
|
||||
P3ScalarType n = Math<P3ScalarType>::Sqrt(_v[0]*_v[0] + _v[1]*_v[1] + _v[2]*_v[2]);
|
||||
P3ScalarType n = 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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue