aboutsummaryrefslogtreecommitdiff
path: root/graphics/nurbs++/files/patch-nurbsS_sp.h
blob: 88b4060079746c52fb3233ca553345db0cbf06aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- nurbs/nurbsS_sp.h.orig	Mon May 13 14:07:46 2002
+++ nurbs/nurbsS_sp.h	Fri Dec  1 00:48:44 2006
@@ -78,7 +78,7 @@
 
 
   void modSurfCPby(int i, int j, const HPoint_nD<T,N>& a) //!< Moves a surface point by a value
-    { P(i,j) +=  a / (maxU[i]*maxV[j]) ;  }
+    { this->P(i,j) +=  a / (maxU[i]*maxV[j]) ;  }
   void modSurfCP(int i, int j, const HPoint_nD<T,N>& a) //!< Moves a surface point to a value
     { modSurfCPby(i,j,a-surfP(i,j)) ;  }
 
@@ -94,7 +94,7 @@
     { return maxAtV_[i] ; }
 
   HPoint_nD<T,N> surfP(int i,int j) const  //!< the surface point for the control point at i,j
-    { return hpointAt(maxAtU_[i],maxAtV_[j]); }
+    { return this->hpointAt(maxAtU_[i],maxAtV_[j]); }
 
   void updateMaxUV() //!< Updates both the maxU and maxV values
     { updateMaxU() ; updateMaxV() ; }