diff --git a/vcg/space/point3.h b/vcg/space/point3.h index f05e78a3..0068acd0 100644 --- a/vcg/space/point3.h +++ b/vcg/space/point3.h @@ -18,20 +18,20 @@ *****************************************************************************/ /*#************************************************************************** History -$Id: point3.h,v 1.2 2004-02-06 02:17:09 cignoni Exp $ +$Id: point3.h,v 1.3 2004-02-06 02:25:54 cignoni Exp $ $Log: not supported by cvs2svn $ +Revision 1.2 2004/02/06 02:17:09 cignoni +First commit... + ****************************************************************************/ -#pragma once #ifndef __VCGLIB_POINT3 #define __VCGLIB_POINT3 //#include #include -#ifndef __VCGLIB_UTILITY -#include -#endif +#include namespace vcg { @@ -278,23 +278,6 @@ inline operator Point3 (){ return Point3 (_v[0],_v[1],_v[2]); } }; // end class definition - -#ifdef __VCG_USE_P4_INTRINSIC__ -#include -#endif - -/* Deprecata -template -inline Point3 operator * ( const T s, Point3 const & p ) -{ - return Point3( p._v[0] * s, p._v[1] * s, p._v[2] * s ); -} -*/ - -#endif // include point3nt - - // ========== Parti comune alla vecchia e alla nuova implementazione ================== - template inline T Angle( Point3 const & p1, Point3 const & p2 ) { @@ -442,13 +425,6 @@ T PSDist( const Point3 & p, return Distance(p,q); } -#if defined(FILE) -inline void print(Point3 const & p, FILE * fp = stdout) { fprintf(fp,"%d %d %d ",p.x(),p.y(),p.z()); } -inline void print(Point3 const & p, FILE * fp = stdout) { fprintf(fp,"%d %d %d ",p.x(),p.y(),p.z()); } -inline void print(Point3 const & p, FILE * fp = stdout) { fprintf(fp,"%g %g %g ",p.x(),p.y(),p.z()); } -inline void print(Point3 const & p, FILE * fp = stdout) { fprintf(fp,"%g %g %g ",p.x(),p.y(),p.z()); } -#endif - typedef Point3 Point3s; typedef Point3 Point3i;