Added Mesh:setWireframe and Mesh:isWireframe.

This should *only* be used for debugging: the wireframe lines behave differently from regular love.graphics lines, and the functionality may not work on OpenGL ES.
This commit is contained in:
Alex Szpakowski
2013-12-30 01:44:04 -04:00
parent 27f36455e8
commit cd303c7c62
4 changed files with 46 additions and 0 deletions
+2
View File
@@ -47,6 +47,8 @@ int w_Mesh_setDrawMode(lua_State *L);
int w_Mesh_getDrawMode(lua_State *L);
int w_Mesh_setVertexColors(lua_State *L);
int w_Mesh_hasVertexColors(lua_State *L);
int w_Mesh_setWireframe(lua_State *L);
int w_Mesh_isWireframe(lua_State *L);
extern "C" int luaopen_mesh(lua_State *L);