Alex Szpakowski
|
ed933847f8
Color values in love's APIs are now in the range of [0, 1] rather than [0, 255].
|
9 years ago |
Alex Szpakowski
|
46a2e7b85c
Happy new year! 🎉
|
9 years ago |
Alex Szpakowski
|
77b832057d
Fixed the Windows build...
|
9 years ago |
Alex Szpakowski
|
7769090c1f
Mesh:setVertices can now accept a Data object.
|
9 years ago |
Alex Szpakowski
|
2c4e713114
Imported some of the dynamiccore branch from love-experiments:
|
9 years ago |
Alex Szpakowski
|
ebf6ca822c
Added an optional 'startvertex' argument to Mesh:setVertices, which specifies a (1-based) offset within the Mesh's vertices to replace.
|
9 years ago |
Alex Szpakowski
|
bb24c1b7a6
Mesh:getVertexMap now returns nil rather than an empty table, if no vertex map is set (resolves issue #1096.)
|
9 years ago |
Alex Szpakowski
|
d215d8a91e
Reworked sRGB / gamma-correct APIs:
|
10 years ago |
Alex Szpakowski
|
0583ebe470
All vertex component arguments to Mesh:setVertex and Mesh:setVertexAttribute are now optional rather than required. Float vertex components default to 0, and byte components default to 255.
|
10 years ago |
Bart van Strien
|
3cb777e2b7
Add basic lua 5.3 support
|
10 years ago |
Alex Szpakowski
|
0f986b10aa
Cleaned up some code, the 'ry' parameter of love.graphics.rectangle now defaults to the value of 'rx' rather than defaulting to 0.
|
10 years ago |
Alex Szpakowski
|
4e1011a52e
Re-added Mesh:setVertices.
|
10 years ago |
Alex Szpakowski
|
2844499ef7
Added the ability to have custom vertex attributes in Meshes (resolves issue #768.)
|
10 years ago |
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 |