mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +02:00
Added Mesh:getVertices (resolves issue #771)
This commit is contained in:
@@ -71,6 +71,11 @@ public:
|
||||
**/
|
||||
void setVertices(const std::vector<Vertex> &verts);
|
||||
|
||||
/**
|
||||
* Gets all of the vertices in the Mesh as an array.
|
||||
**/
|
||||
const Vertex *getVertices() const;
|
||||
|
||||
/**
|
||||
* Sets an individual vertex in the Mesh.
|
||||
* @param index The index into the list of vertices to use.
|
||||
|
||||
Reference in New Issue
Block a user