From 490a21fdff267a584324941c117e96205bf8d31d Mon Sep 17 00:00:00 2001 From: Alec Iverson Date: Fri, 12 Aug 2016 15:28:03 -0700 Subject: [PATCH] Renamed/deprecated sfPrimitiveType values. sfLinesStrip -> sfLineStrip sfTrianglesStrip -> sfTriangleStrip sfTrianglesFan -> sfTriangleFan --- include/SFML/Graphics/PrimitiveType.h | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/include/SFML/Graphics/PrimitiveType.h b/include/SFML/Graphics/PrimitiveType.h index aa41baa..8bcd782 100644 --- a/include/SFML/Graphics/PrimitiveType.h +++ b/include/SFML/Graphics/PrimitiveType.h @@ -41,13 +41,17 @@ //////////////////////////////////////////////////////////// typedef enum { - sfPoints, ///< List of individual points - sfLines, ///< List of individual lines - sfLinesStrip, ///< List of connected lines, a point uses the previous point to form a line - sfTriangles, ///< List of individual triangles - sfTrianglesStrip, ///< List of connected triangles, a point uses the two previous points to form a triangle - sfTrianglesFan, ///< List of connected triangles, a point uses the common center and the previous point to form a triangle - sfQuads ///< List of individual quads + sfPoints, ///< List of individual points + sfLines, ///< List of individual lines + sfLineStrip, ///< List of connected lines, a point uses the previous point to form a line + sfTriangles, ///< List of individual triangles + sfTriangleStrip, ///< List of connected triangles, a point uses the two previous points to form a triangle + sfTriangleFan, ///< List of connected triangles, a point uses the common center and the previous point to form a triangle + sfQuads, ///< List of individual quads + + sfLinesStrip = sfLineStrip, ///< \deprecated Use sfLineStrip instead + sfTrianglesStrp = sfTriangleStrip, ///< \deprecated Use sfTriangleStrip instead + sfTrianglesFan = sfTriangleFan ///< \deprecated Use sfTriangleFan instead } sfPrimitiveType;