freebsd-ports/graphics/nurbs++/files/patch-nurbsS_sp.h
Pav Lucistnik 95465b01db - Unbreak on 5.X and above: fix compile with gcc34
PR:		ports/106117
Submitted by:	Peter Johnson <johnson.peter@gmail.com>
2006-12-01 09:55:32 +00:00

11 lines
453 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)) ; }