Commit af2bc9120e94344005060d0067d9a7725e22ef1b

henry 2001-09-16T21:31:38

Minor tidy ups

diff --git a/include/FTVectoriser.h b/include/FTVectoriser.h
index e18f4d2..fb2d8b6 100644
--- a/include/FTVectoriser.h
+++ b/include/FTVectoriser.h
@@ -22,12 +22,12 @@ class ftPoint
 		: x(X), y(Y), z(Z)
 		{}
 		
-		friend bool operator == (const ftPoint &a, const ftPoint &b) 
+		friend bool operator == ( const ftPoint &a, const ftPoint &b) 
 		{
 			return((a.x == b.x) && (a.y == b.y) && (a.z == b.z));
 		}
 
-		friend bool operator != (const ftPoint &a, const ftPoint &b) 
+		friend bool operator != ( const ftPoint &a, const ftPoint &b) 
 		{
 			return((a.x != b.x) || (a.y != b.y) || (a.z != b.z));
 		}
diff --git a/src/FTVectoriser.cpp b/src/FTVectoriser.cpp
index 67c5bf1..cb08e57 100644
--- a/src/FTVectoriser.cpp
+++ b/src/FTVectoriser.cpp
@@ -173,7 +173,7 @@ int FTVectoriser::Cubic( const int index, const int first, const int last)
 }
 
 
-// De Casteljau algorithm supplied by Jed Soane
+// De Casteljau algorithm contributed by Jed Soane
 void FTVectoriser::deCasteljau( const float t, const int n)
 {
     //Calculating successive b(i)'s using de Casteljau algorithm.
@@ -189,7 +189,7 @@ void FTVectoriser::deCasteljau( const float t, const int n)
 }
 
 
-// De Casteljau algorithm supplied by Jed Soane
+// De Casteljau algorithm contributed by Jed Soane
 void FTVectoriser::evaluateCurve( const int n)
 {
     // setting the b(0) equal to the control points
@@ -197,15 +197,15 @@ void FTVectoriser::evaluateCurve( const int n)
 	{
 		bValues[0][i][0] = ctrlPtArray[i][0];
 		bValues[0][i][1] = ctrlPtArray[i][1];
-    } //end for(i..)
+    }
 
     float t;            					//parameter for curve point calc. [0.0, 1.0]
 
-    for( int m = 0; m <= (1 / kBSTEPSIZE); m++)
+    for( int m = 0; m <= ( 1 / kBSTEPSIZE); m++)
     {
     	t = m * kBSTEPSIZE;
         deCasteljau( t, n);  //calls to evaluate point on curve att.
-    } //end for(m...)
+    }
 }