aboutsummaryrefslogtreecommitdiff
path: root/graphics/nurbs++/files/patch-nurbs_nurbs.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/nurbs++/files/patch-nurbs_nurbs.h')
-rw-r--r--graphics/nurbs++/files/patch-nurbs_nurbs.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/nurbs++/files/patch-nurbs_nurbs.h b/graphics/nurbs++/files/patch-nurbs_nurbs.h
new file mode 100644
index 000000000000..93d48fd4583f
--- /dev/null
+++ b/graphics/nurbs++/files/patch-nurbs_nurbs.h
@@ -0,0 +1,13 @@
+--- nurbs/nurbs.h.orig
++++ nurbs/nurbs.h
+@@ -105,8 +105,8 @@
+
+ // Basis functions
+ T basisFun(T u, int i, int p=-1) const ;
+- void basisFuns(T u, int span, Vector<T>& N) const ;
+- void dersBasisFuns(int n,T u, int span, Matrix<T>& N) const;
++ void basisFuns(T u, int span, Vector<T>& N_) const ;
++ void dersBasisFuns(int n,T u, int span, Matrix<T>& N_) const;
+
+ // Knot functions
+ T minKnot() const //! the minimal value for the knot vector