Removed redundant member
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
diff --git a/include/FTVectoriser.h b/include/FTVectoriser.h
index 23905d4..0ee24db 100644
--- a/include/FTVectoriser.h
+++ b/include/FTVectoriser.h
@@ -123,12 +123,13 @@ class FTGL_EXPORT FTMesh
/**
* FTVectoriser class is a helper class that converts font outlines into
- * point data. It includes a bezier curve evaluator
+ * point data.
*
+ * @see FTExtrdGlyph
* @see FTOutlineGlyph
* @see FTPolyGlyph
* @see FTContour
- * @see ftPoint
+ * @see FTPoint
*
*/
class FTGL_EXPORT FTVectoriser
@@ -210,7 +211,7 @@ class FTGL_EXPORT FTVectoriser
private:
/**
- * The list of contours in this outline
+ * The list of contours in the glyph
*/
typedef FTVector<FTContour*> ContourVector;
ContourVector contourList;
@@ -218,15 +219,10 @@ class FTGL_EXPORT FTVectoriser
/**
* A Mesh for tesselations
*/
- FTContour* contour;
-
- /**
- * A Mesh for tesselations
- */
FTMesh* mesh;
/**
- * A flag indicating the tesselation rule for this outline
+ * A flag indicating the tesselation rule for the glyph
*/
int contourFlag;
diff --git a/src/FTVectoriser.cpp b/src/FTVectoriser.cpp
index b0cc217..58b9c91 100644
--- a/src/FTVectoriser.cpp
+++ b/src/FTVectoriser.cpp
@@ -103,8 +103,7 @@ int FTMesh::size() const
FTVectoriser::FTVectoriser( const FT_Glyph glyph)
-: contour(0),
- mesh(0),
+: mesh(0),
contourFlag(0),
kBSTEPSIZE( 0.2f)
{
@@ -148,9 +147,9 @@ void FTVectoriser::ProcessContours()
endIndex = ftOutline.contours[contourIndex];
contourLength = ( endIndex - startIndex) + 1;
- FTContour* countour = new FTContour( pointList, tagList, contourLength);
+ FTContour* contour = new FTContour( pointList, tagList, contourLength);
- contourList.push_back( countour);
+ contourList.push_back( contour);
startIndex = endIndex + 1;
}