Alex Szpakowski
|
734789eb93
Added love.math.encode(format, data | string [, linelength]) and love.math.decode(format, data | string). Current formats are "base64" and "hex". The optional line length only applies to base64 and specifies the maximum number of characters per line in the encoded string.
|
9 years ago |
Alex Szpakowski
|
314a82b126
Fixed the piecewise function in linearToGamma to use <= instead of < when determining whether to use the linear part of the function.
|
9 years ago |
Alex Szpakowski
|
46a2e7b85c
Happy new year! 🎉
|
9 years ago |
Alex Szpakowski
|
2e9154283c
Added gzip support to love.math.compress and love.math.decompress.
|
10 years ago |
Alex Szpakowski
|
d215d8a91e
Reworked sRGB / gamma-correct APIs:
|
10 years ago |
Alex Szpakowski
|
a29b349014
Added love.math.compress(data, format [, level]) and love.math.decompress(compresseddata) / love.math.decompress(compressedstring, format).
|
10 years ago |
Alex Szpakowski
|
c7b45b3505
Updated copyright for the new year
|
10 years ago |
Alex Szpakowski
|
d52bab4221
Updated the new module changes to use more compile/link-time checking rather than runtime checking.
|
11 years ago |
Alex Szpakowski
|
014b9a46e5
Updated the Lua wrapper code for modules to account for cases where the module's instance is removed from memory completely and recreated during the program's lifetime.
|
11 years ago |
Alex Szpakowski
|
4faddcd9aa
Fixed some trivial compiler warnings
|
11 years ago |
Alex Szpakowski
|
e54d771be4
Added love.math.gammaToLinear and love.math.linearToGamma for converting RGB color values from the sRGB color-space to linear and vice-versa.
|
11 years ago |
Alex Szpakowski
|
3120a0e650
Goodbye 2013, hello 2014!
|
11 years ago |
Alex Szpakowski
|
cded0e4a3b
Fixed a typo when love.math.triangulate errors
|
11 years ago |
Alex Szpakowski
|
5de43a7207
The Vertex struct is now recognized as POD by C++, also fixed the name to be consistent with other love structs
|
12 years ago |
vrld
|
19eade843c
Add support for Bezier curves of arbitrary degree.
|
12 years ago |
vrld
|
d454be7025
Add love.math.isConvex()
|
12 years ago |
Alex Szpakowski
|
7ab3809165
Fixed Object:typeOf for love.physics objects new to 0.8.0, removed vestigial ColorMode code
|
12 years ago |
Alex Szpakowski
|
3bf43dadd8
Renamed CompressedData:getNumMipmaps to CompressedData:getMipmapCount; Improved type-checking error messages for some functions which expect function arguments
|
12 years ago |
vrld
|
71317c4359
Add Geometries (replaces Quads).
|
12 years ago |
Alex Szpakowski
|
bf6d1c258b
Misc. code cosmetics and improvements
|
12 years ago |
Alex Szpakowski
|
3046981fce
Added love.math.newRandomGenerator. Returns a RNG object with its own seed and random methods.
|
12 years ago |
vrld
|
db86fa4b83
Make love.math.triangulate with any polygon winding order.
|
12 years ago |
vrld
|
1a407a6af3
Make non-gcc compilers happy...
|
12 years ago |