mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Exposed Geometry:setVertexColors and Geometry:hasVertexColors, to enable/disable per-vertex colors.
Vertex colors are automatically enabled if newGeometry or setVertex is called with a color other than 255,255,255,255
This commit is contained in:
@@ -33,10 +33,12 @@ namespace opengl
|
||||
{
|
||||
|
||||
Geometry *luax_checkgeometry(lua_State *L, int idx);
|
||||
int w_Geometry_flip(lua_State *L);
|
||||
int w_Geometry_getVertexCount(lua_State *L);
|
||||
int w_Geometry_getVertex(lua_State *L);
|
||||
int w_Geometry_setVertex(lua_State *L);
|
||||
int w_Geometry_flip(lua_State *L);
|
||||
int w_Geometry_setVertexColors(lua_State *L);
|
||||
int w_Geometry_hasVertexColors(lua_State *L);
|
||||
extern "C" int luaopen_geometry(lua_State *L);
|
||||
|
||||
} // opengl
|
||||
|
||||
Reference in New Issue
Block a user