Commit History

Author SHA1 Message Date
  Sasha Szpakowski 1e97e09b28 Rework internal module registration to happen in constructors. 1 year ago
  Sasha Szpakowski 94d5864144 update year for copyright notice 1 year ago
  Sasha Szpakowski c823dbca96 Update copyright year for 2023 2 years ago
  Alex Szpakowski 8e7fd10b6f Update copyright year for 2022 3 years ago
  Alex Szpakowski f89aabb0bb Update copyright year for 2021 4 years ago
  Alex Szpakowski fc4847c69d Update copyright for the new year 5 years ago
  Alex Szpakowski 0752f27bdf Update copyright year for 2019 6 years ago
  Alex Szpakowski 5d5c2f9a96 math and data module instances are now deleted when they have no more Lua references (matches the behaviour of other modules.) Fixes the deprecation system not fully restarting when love.event.quit("restart") is called. 6 years ago
  Alex Szpakowski d37c53584e Fixed the mipmaps flag in love.graphics.newImage; cleaned up a bit of vector code in love.math.isConvex. 7 years ago
  Bart van Strien e80247c191 Happy new year! ✨ 7 years ago
  Alex Szpakowski 90e86c329d Add love.data module. 8 years ago
  Alex Szpakowski ef5897b22c Seed love.math.random when the math module is loaded, instead of in love.run. 8 years ago
  Alex Szpakowski ac697ddb0f Clean up love’s internal Vector code a bit, and rename it to Vector2 so it’s more obvious what it is. 8 years ago
  Alex Szpakowski abb72cb813 Happy new year! 🥂 8 years ago
  Alex Szpakowski 14aa6965b3 Added Transform objects to love.math (resolves issue #1228). 8 years ago
  Alex Szpakowski ef61573cd3 Merge default into minor 9 years ago
  Alex Szpakowski 677a8d60b8 Use love::Vector (8 bytes) instead of love::Vertex (20 bytes) for love.math.triangulate and love.math.isConvex. 9 years ago
  Bart van Strien 3a2e859acd Add love.math.hash, which supports MD5/SHA-1/SHA-2. 9 years ago
  Alex Szpakowski cc1b9bc619 Moved most love.math functions out of the Math class, since they're pure functions. 9 years ago
  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