Commit ae478a7b1e61a014e802c52a078d7e3fa2405de7

henry 2001-08-01T04:28:17

Removed stdio include and used arg in deCasteljau function declaration

diff --git a/src/FTVectorGlyph.cpp b/src/FTVectorGlyph.cpp
index a78c19b..cfc7896 100755
--- a/src/FTVectorGlyph.cpp
+++ b/src/FTVectorGlyph.cpp
@@ -1,5 +1,3 @@
-#include	<stdio.h>
-
 #include	"gl.h"
 
 #include	"FTVectorGlyph.h"
@@ -29,7 +27,7 @@ void FTContour::AddPoint( int x, int y)
 
 
 //2.De Casteljau algorithm
-void FTVectoriser::deCasteljau(GLint m, GLfloat t, int n, GLfloat bValues[MAX_DEG][MAX_DEG][2])
+void FTVectoriser::deCasteljau( GLfloat t, int n, GLfloat bValues[MAX_DEG][MAX_DEG][2])
 {
     int i, k, l;
 
@@ -62,7 +60,7 @@ void FTVectoriser::evaluateCurve( int n)
     for (m = 0; m <= (1 / stepSize); m++)
     {
     	t = m * stepSize;
-        deCasteljau(m, t, n, bValues);  //calls to evaluate point on curve att.
+        deCasteljau( t, n, bValues);  //calls to evaluate point on curve att.
     } //end for(m...)
 }
 
diff --git a/src/FTVectorGlyph.h b/src/FTVectorGlyph.h
index 6880b4a..7dd080d 100755
--- a/src/FTVectorGlyph.h
+++ b/src/FTVectorGlyph.h
@@ -53,7 +53,7 @@ class FTVectoriser
 		// methods
 		int Conic( int index, int first, int last);
 		int Cubic( int index, int first, int last);
-		void deCasteljau(GLint m, GLfloat t, int n, GLfloat bValues[MAX_DEG][MAX_DEG][2]);
+		void deCasteljau( GLfloat t, int n, GLfloat bValues[MAX_DEG][MAX_DEG][2]);
 		void evaluateCurve( int n);
 
 		// attributes