freebsd-ports/graphics/nurbs++/files/patch-nurbsS_sp.h
Alexey Dokuchaev 25f100a96e - Resurrect; unbreak on all supported versions of FreeBSD (and 8.X)
- Drop leading indefinite article from COMMENT text
- Stagify, convert to USES=libtool, switch to .tar.bz2 distfile
2015-10-21 16:34:23 +00:00

20 lines
808 B
C

--- 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() ; }