From 59c1559e59fa4d75f49a0e123ff76151b7ecf2a6 Mon Sep 17 00:00:00 2001 From: ponchio Date: Fri, 15 Apr 2005 09:19:50 +0000 Subject: [PATCH] Typo: Point3 -> Point4 --- vcg/math/quaternion.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/vcg/math/quaternion.h b/vcg/math/quaternion.h index 9a55f753..2877e414 100644 --- a/vcg/math/quaternion.h +++ b/vcg/math/quaternion.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.12 2005/04/14 17:22:34 ponchio +*** empty log message *** + Revision 1.11 2005/04/14 11:35:09 ponchio *** empty log message *** @@ -41,6 +44,9 @@ updated access to matrix44 elements through V() instead simple [] Revision 1.6 2004/03/25 14:57:49 ponchio Microerror. ($LOG$ -> $Log: not supported by cvs2svn $ +Microerror. ($LOG$ -> Revision 1.12 2005/04/14 17:22:34 ponchio +Microerror. ($LOG$ -> *** empty log message *** +Microerror. ($LOG$ -> Microerror. ($LOG$ -> Revision 1.11 2005/04/14 11:35:09 ponchio Microerror. ($LOG$ -> *** empty log message *** Microerror. ($LOG$ -> @@ -102,8 +108,8 @@ public: Point3 Rotate(const Point3 vec) const; //duplicated ... because of gcc new confoming to ISO template derived classes //do no 'see' parent members (unless explicitly specified) - const S & V ( const int i ) const { assert(i>=0 && i<4); return ((Point3 *)this)->V(i); } - S & V ( const int i ) { assert(i>=0 && i<4); return ((Point3 *)this)->V(i); } + const S & V ( const int i ) const { assert(i>=0 && i<4); return Point4::V(i); } + S & V ( const int i ) { assert(i>=0 && i<4); return Point4::V(i); } }; template Quaternion Interpolate(const Quaternion a, const Quaternion b, double t);