summaryrefslogtreecommitdiff
path: root/include/SFML/Graphics/PrimitiveType.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/SFML/Graphics/PrimitiveType.hpp')
-rw-r--r--include/SFML/Graphics/PrimitiveType.hpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/SFML/Graphics/PrimitiveType.hpp b/include/SFML/Graphics/PrimitiveType.hpp
index 28cf58d..511aab4 100644
--- a/include/SFML/Graphics/PrimitiveType.hpp
+++ b/include/SFML/Graphics/PrimitiveType.hpp
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
-// Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org)
+// Copyright (C) 2007-2023 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -38,18 +38,18 @@ namespace sf
////////////////////////////////////////////////////////////
enum PrimitiveType
{
- Points, ///< List of individual points
- Lines, ///< List of individual lines
- LineStrip, ///< List of connected lines, a point uses the previous point to form a line
- Triangles, ///< List of individual triangles
- TriangleStrip, ///< List of connected triangles, a point uses the two previous points to form a triangle
- TriangleFan, ///< List of connected triangles, a point uses the common center and the previous point to form a triangle
- Quads, ///< List of individual quads (deprecated, don't work with OpenGL ES)
+ Points, //!< List of individual points
+ Lines, //!< List of individual lines
+ LineStrip, //!< List of connected lines, a point uses the previous point to form a line
+ Triangles, //!< List of individual triangles
+ TriangleStrip, //!< List of connected triangles, a point uses the two previous points to form a triangle
+ TriangleFan, //!< List of connected triangles, a point uses the common center and the previous point to form a triangle
+ Quads, //!< List of individual quads (deprecated, don't work with OpenGL ES)
// Deprecated names
- LinesStrip = LineStrip, ///< \deprecated Use LineStrip instead
- TrianglesStrip = TriangleStrip, ///< \deprecated Use TriangleStrip instead
- TrianglesFan = TriangleFan ///< \deprecated Use TriangleFan instead
+ LinesStrip = LineStrip, //!< \deprecated Use LineStrip instead
+ TrianglesStrip = TriangleStrip, //!< \deprecated Use TriangleStrip instead
+ TrianglesFan = TriangleFan //!< \deprecated Use TriangleFan instead
};
} // namespace sf