1. Anders Ruud
  2. love
  3. Issues


Issue #771 resolved


created an issue

Mesh:setVertices offers a mechanism because Mesh:setVertex cannot add or remove vertices. Adding the ability to add and remove vertices to setVertex could make setVertices unnecessary.

Or, if setVertices should exist, I think getVertices should also exist, because there are rarely setters without getters, and when there are it is for a good reason.

getVertices might be useful for copying Meshes, if that's something someone would want to do:

love.graphics.newMesh(Mesh:getVertices(), Mesh:getImage(), Mesh:getDrawMode())

Comments (1)

  1. Log in to comment