Alex Szpakowski
|
c8038f22df
Merge branch 'main' into 12.0-development
|
3 years ago |
Miku AuahDark
|
fb815edc28
Change luaL_loadbuffer chunkname with prefixes.
|
3 years ago |
megagrump
|
136c3cd277
use double precision numbers in love.math.noise
|
3 years ago |
Alex Szpakowski
|
21f5ba86d3
Merge branch 'master' into 12.0-development
|
4 years ago |
Alex Szpakowski
|
5f9b5a21d0
Merge default into minor
|
5 years ago |
Alex Szpakowski
|
fc4847c69d
Update copyright for the new year
|
5 years ago |
Alex Szpakowski
|
23db4f4a59
Remove functions that were deprecated in LÖVE 11.
|
5 years ago |
Alex Szpakowski
|
32f381576e
Avoid using lightuserdata in internal wrapper code for the math module.
|
6 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 |
Bart van Strien
|
e80247c191
Happy new year! ✨
|
7 years ago |
Alex Szpakowski
|
9fa73f8b87
Several love.data functions now take an enum ("data" or "string") to determine whether they return a Data object or a string.
|
7 years ago |
Alex Szpakowski
|
6dea2ab714
Clamp all color arguments to [0, 1] in cases where values outside that range don't make sense (fixed-point color values & sRGB colors). Closes issue #1315.
|
7 years ago |
Bart van Strien
|
9e4374935d
Show (short) list of possible enum values when an invalid value is encountered (resolves #1318)
|
8 years ago |
Alex Szpakowski
|
90e86c329d
Add love.data module.
|
8 years ago |
Alex Szpakowski
|
34ebe18f14
Use luaL_check/optinteger instead of luaL_check/optnumber when getting integer arguments to functions. Resolves issue #1251.
|
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 |
Bart van Strien
|
24a7a3d367
Merge minor into dynamiccore2
|
8 years ago |
Alex Szpakowski
|
14aa6965b3
Added Transform objects to love.math (resolves issue #1228).
|
8 years ago |
Bart van Strien
|
5d43c9601a
Automatically deduce the type in luax_pushtype, if possible
|
8 years ago |
Bart van Strien
|
7dd960619d
Automatically deduce the type in luax_checktype, luax_getmodule, luax_optmodule and luax_totype
|
8 years ago |
Bart van Strien
|
c761202486
Build type information on first use (load-time), instead of using a hardcoded list
|
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
|
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 |