mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Canvases can now be used in SpriteBatches, ParticleSystems, and Meshes (resolves issue #782).
Canvases and Images are now subclasses of the new Texture class. Added setTexture and getTexture methods for Meshes, ParticleSystems, and SpriteBatches (the old set/getImage methods are deprecated but not removed.) Canvas texture coordinates are no longer flipped.
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
|
||||
// LOVE
|
||||
#include "common/runtime.h"
|
||||
#include "wrap_Image.h"
|
||||
#include "ParticleSystem.h"
|
||||
|
||||
namespace love
|
||||
@@ -35,8 +34,8 @@ namespace opengl
|
||||
|
||||
ParticleSystem *luax_checkparticlesystem(lua_State *L, int idx);
|
||||
int w_ParticleSystem_clone(lua_State *L);
|
||||
int w_ParticleSystem_setImage(lua_State *L);
|
||||
int w_ParticleSystem_getImage(lua_State *L);
|
||||
int w_ParticleSystem_setTexture(lua_State *L);
|
||||
int w_ParticleSystem_getTexture(lua_State *L);
|
||||
int w_ParticleSystem_setBufferSize(lua_State *L);
|
||||
int w_ParticleSystem_getBufferSize(lua_State *L);
|
||||
int w_ParticleSystem_setInsertMode(lua_State *L);
|
||||
|
||||
Reference in New Issue
Block a user