Alex Szpakowski
|
2f419c1c83
Replaced most cases of type bits and type name strings in love's Lua wrapper code with type id's.
|
10 years ago |
Alex Szpakowski
|
3830a0969c
Moved the Texture and Quad Lua wrapper files out of the opengl graphics implementation folder.
|
10 years ago |
Alex Szpakowski
|
ebc68023a7
Fix many warnings about implicit integer conversions when compiling for 64 bits.
|
10 years ago |
Alex Szpakowski
|
a7e4148869
Merged default into minor
|
10 years ago |
Alex Szpakowski
|
c7b45b3505
Updated copyright for the new year
|
10 years ago |
Alex Szpakowski
|
9b1f7d7a6e
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
da7cd267ea
Changed luax_pushtype to retain the pushed object itself, but only if the object isn't in the Lua state already.
|
11 years ago |
Alex Szpakowski
|
bfa3ec9369
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
dfa319e01a
Replaced the EXCEPT_GUARD macro for converting love exceptions into Lua errors with the new luax_catchexcept function, which takes lambda function arguments.
|
11 years ago |
Alex Szpakowski
|
6971ece4cb
Fixed Mesh:setDrawRange when the Mesh has a vertex map and the first argument to setDrawRange is non-zero. Removed mesh-specific instancing code.
|
11 years ago |
Alex Szpakowski
|
e0134a305c
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
f05551a01f
Fixed a potential null pointer dereference and a case of undefined behaviour
|
11 years ago |
Alex Szpakowski
|
6dc10cfd15
Merged default into minor
|
11 years ago |
Alex Szpakowski
|
e7947d9d2e
Pulled Mesh:set/getInstanceCount from 0.9.1 for now.
|
11 years ago |
Alex Szpakowski
|
a94637ef2b
Removed functions that were deprecated in 0.9.1
|
11 years ago |
Alex Szpakowski
|
ecf37320a9
Changed love.graphics.newMesh, Mesh:setVertex, and Mesh:setVertices to default the u,v arguments to 0,0 instead of requiring them
|
11 years ago |
Alex Szpakowski
|
6259e38d84
Meshes will now use the smallest integer data type possible for index buffer (vertex map) values, instead of always using 32-bit integer numbers.
|
11 years ago |
Alex Szpakowski
|
b625bb6624
moved Mesh:setWireframe to love.graphics.setWireframe (affects all draws until it's disabled.)
|
11 years ago |
Alex Szpakowski
|
ba7e69d776
Added Mesh:setDrawRange(min, max) and Mesh:getDrawRange().
|
11 years ago |
Alex Szpakowski
|
73f1ce0d40
Added instancing support to Meshes via Mesh:setInstanceCount. Added a new built-in variable to vertex shaders: int love_InstanceID.
|
11 years ago |
Alex Szpakowski
|
510ed6f11e
Abstracted lua bindings for general Texture methods into wrap_Texture.cpp
|
11 years ago |
Alex Szpakowski
|
3120a0e650
Goodbye 2013, hello 2014!
|
11 years ago |
Alex Szpakowski
|
aa69a695d3
Canvases can now be used in SpriteBatches, ParticleSystems, and Meshes (resolves issue #782).
|
11 years ago |
Alex Szpakowski
|
cd303c7c62
Added Mesh:setWireframe and Mesh:isWireframe.
|
11 years ago |
Alex Szpakowski
|
206a1abd81
Added Mesh:getVertices (resolves issue #771)
|
11 years ago |
Alex Szpakowski
|
d161d5c0fc
Fixed an uncaught exception in Mesh:getVertexMap
|
12 years ago |
Alex Szpakowski
|
c426998b04
Fixed Mesh:setVertexMap when the mesh has more than 2^16-1 vertices (still needs more work to make it use smaller data types when available), added Mesh:setVertices
|
12 years ago |
Alex Szpakowski
|
b59e3d9c35
Meshes now use vertex buffers for more efficient drawing.
|
12 years ago |
Alex Szpakowski
|
1e696c4505
Added Mesh objects and love.graphics.newMesh. Mesh objects are similar to Geometry but they're drawables (the relationship between meshes and images is the opposite of geometry and images.)
|
12 years ago |