Remove most deprecated 'PrimitiveType' enumators

This commit is contained in:
Vittorio Romeo 2021-12-09 00:49:43 +00:00
parent 6678fdd291
commit 7f2243d826

View File

@ -44,12 +44,7 @@ enum PrimitiveType
Triangles, //!< List of individual triangles Triangles, //!< List of individual triangles
TriangleStrip, //!< List of connected triangles, a point uses the two previous points to form a triangle 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 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) 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
}; };
} // namespace sf } // namespace sf