mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 05:26:13 +01:00
Renamed/deprecated sfPrimitiveType values.
sfLinesStrip -> sfLineStrip sfTrianglesStrip -> sfTriangleStrip sfTrianglesFan -> sfTriangleFan
This commit is contained in:
1 parent
864d7b822a
commit
490a21fdff
1 file changed
+11
-7
@@ -41,13 +41,17 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
sfPoints, ///< List of individual points
|
sfPoints, ///< List of individual points
|
||||||
sfLines, ///< List of individual lines
|
sfLines, ///< List of individual lines
|
||||||
sfLinesStrip, ///< List of connected lines, a point uses the previous point to form a line
|
sfLineStrip, ///< List of connected lines, a point uses the previous point to form a line
|
||||||
sfTriangles, ///< List of individual triangles
|
sfTriangles, ///< List of individual triangles
|
||||||
sfTrianglesStrip, ///< List of connected triangles, a point uses the two previous points to form a triangle
|
sfTriangleStrip, ///< 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
|
sfTriangleFan, ///< List of connected triangles, a point uses the common center and the previous point to form a triangle
|
||||||
sfQuads ///< List of individual quads
|
sfQuads, ///< List of individual quads
|
||||||
|
|
||||||
|
sfLinesStrip = sfLineStrip, ///< \deprecated Use sfLineStrip instead
|
||||||
|
sfTrianglesStrp = sfTriangleStrip, ///< \deprecated Use sfTriangleStrip instead
|
||||||
|
sfTrianglesFan = sfTriangleFan ///< \deprecated Use sfTriangleFan instead
|
||||||
} sfPrimitiveType;
|
} sfPrimitiveType;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user