mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Pulled Mesh:set/getInstanceCount from 0.9.1 for now.
The feature is difficult to use well unless custom vertex attributes are added.
This commit is contained in:
@@ -9,7 +9,6 @@ LOVE 0.9.1 [Baby Inspector]
|
||||
* Added ParticleSystem:setRelativeRotation.
|
||||
* Added love.graphics.setWireframe for debugging.
|
||||
* Added Mesh:setDrawRange and Mesh:getDrawRange.
|
||||
* Added instancing support to Meshes with Mesh:setInstanceCount.
|
||||
* Added CircleShape:getPoint and CircleShape:setPoint.
|
||||
* Added Mesh/SpriteBatch/ParticleSystem:setTexture, accepts Canvases and Images.
|
||||
* Added high-dpi window support for Retina displays in OS X, via the 'highdpi' window flag.
|
||||
|
||||
@@ -371,8 +371,12 @@ static const luaL_Reg functions[] =
|
||||
{ "getVertexCount", w_Mesh_getVertexCount },
|
||||
{ "setVertexMap", w_Mesh_setVertexMap },
|
||||
{ "getVertexMap", w_Mesh_getVertexMap },
|
||||
{ "setInstanceCount", w_Mesh_setInstanceCount },
|
||||
{ "getInstanceCount", w_Mesh_getInstanceCount },
|
||||
|
||||
// Disabled for now, since implementation is incomplete and might change
|
||||
// if/when VertexBuffers / custom vertex attributes are added.
|
||||
// { "setInstanceCount", w_Mesh_setInstanceCount },
|
||||
// { "getInstanceCount", w_Mesh_getInstanceCount },
|
||||
|
||||
{ "setTexture", w_Mesh_setTexture },
|
||||
{ "getTexture", w_Mesh_getTexture },
|
||||
{ "setDrawMode", w_Mesh_setDrawMode },
|
||||
|
||||
Reference in New Issue
Block a user