summaryrefslogtreecommitdiff
path: root/graphics/nurbs++/files/patch-nurbsS_sp.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/nurbs++/files/patch-nurbsS_sp.h')
-rw-r--r--graphics/nurbs++/files/patch-nurbsS_sp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/nurbs++/files/patch-nurbsS_sp.h b/graphics/nurbs++/files/patch-nurbsS_sp.h
new file mode 100644
index 000000000000..730c0a578fe0
--- /dev/null
+++ b/graphics/nurbs++/files/patch-nurbsS_sp.h
@@ -0,0 +1,11 @@
+--- 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)) ; }
+