Commit History

Author SHA1 Message Date
  Alex Szpakowski 90e86c329d Add love.data module. 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 46a2e7b85c Happy new year! 🎉 9 years ago
  Alex Szpakowski 20fb7f44df Cleaned up the code for love.math.random and related functions. 9 years ago
  Alex Szpakowski 2e9154283c Added gzip support to love.math.compress and love.math.decompress. 10 years ago
  Alex Szpakowski c3fd7a25a3 Fixed some misc. compiler warnings. 10 years ago
  Alex Szpakowski 97806f87c0 Replaced Simplex noise with Perlin noise for the 3D and 4D variants of love.math.noise, to avoid patent-infringement issues (resolves issue #997.) 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 d07e31370d Added RandomGenerator:getState and RandomGenerator:setState (resolves issue #831.) 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 1c8abc74aa Renamed love.math.g/setRandomState and rng:g/setState to love.math.g/setRandomSeed and rng:g/setSeed. 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
  Alex Szpakowski 5c0066332f love.math.noise now returns values in the range of [0, 1] instead of [-1, 1] 12 years ago
  Alex Szpakowski 0447d1e7c5 Changed love.math.randomnormal([mean], stddev) to love.math.randomNormal(stddev, [mean]); 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 63404f7097 Added love.graphics.getRendererInfo(infotype). Useful for creating more informative error reports and advanced debugging. 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
  Alex Szpakowski f8c7e2cab8 Code cleanup 12 years ago
  Alex Szpakowski 9ccf013570 Added love.math.noise(x, [y, z, w]). Calculates the 1D, 2D, 3D or 4D Simplex noise value at a particular coordinate 12 years ago