mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Remove vertex namespace
This commit is contained in:
@@ -44,7 +44,7 @@ class Polyline
|
||||
{
|
||||
public:
|
||||
|
||||
Polyline(vertex::TriangleIndexMode mode = vertex::TriangleIndexMode::STRIP)
|
||||
Polyline(TriangleIndexMode mode = TriangleIndexMode::STRIP)
|
||||
: vertices(nullptr)
|
||||
, overdraw(nullptr)
|
||||
, vertex_count(0)
|
||||
@@ -94,7 +94,7 @@ protected:
|
||||
Vector2 *overdraw;
|
||||
size_t vertex_count;
|
||||
size_t overdraw_vertex_count;
|
||||
vertex::TriangleIndexMode triangle_mode;
|
||||
TriangleIndexMode triangle_mode;
|
||||
size_t overdraw_vertex_start;
|
||||
|
||||
}; // Polyline
|
||||
@@ -109,7 +109,7 @@ class NoneJoinPolyline : public Polyline
|
||||
public:
|
||||
|
||||
NoneJoinPolyline()
|
||||
: Polyline(vertex::TriangleIndexMode::QUADS)
|
||||
: Polyline(TriangleIndexMode::QUADS)
|
||||
{}
|
||||
|
||||
void render(const Vector2 *vertices, size_t count, float halfwidth, float pixel_size, bool draw_overdraw)
|
||||
|
||||
Reference in New Issue
Block a user