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
|
2ee869b0e8
Fixed some compiler warnings
|
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
|
83d3eae1e7
Fixed error messages in Shader:send and love.math.newRandomGenerator to include the line number
|
11 years ago |
Alex Szpakowski
|
bcee9a222b
Made some float/int/unsigned char conversions explicit, fixed ParticleSystem:getColors, fixed love.mouse.isDown with x1 and x2 buttons
|
12 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
|
ffe0485173
Removed love.window.checkMode (resolves issue #653, invalidates issue #592).
|
12 years ago |
Alex Szpakowski
|
06f80d5c08
Fixed undefined behaviour when love exceptions are converted into Lua errors (resolves issue #729)
|
12 years ago |
Alex Szpakowski
|
ec9dec6b80
Replaced luax_newtype with luax_pushtype (and added luax_rawnewtype for the old functionality of luax_newtype.)
|
12 years ago |
Alex Szpakowski
|
50504d83a5
Missed an uncaught exception in newRandomGenerator
|
12 years ago |
Alex Szpakowski
|
674ad9247a
Added some checks for invalid numbers to love.math.setRandomState
|
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
|
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 |
Alex Szpakowski
|
d98e2cb40c
Renamed randnormal to randomnormal
|
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
|
1a407a6af3
Make non-gcc compilers happy...
|
12 years ago |
vrld
|
ece4ff6472
Make love.math a singleton. Remove code duplication. Add love.math.triangulate.
|
12 years ago |
vrld
|
4b8c6d236d
Rename Math.{cpp,h} to ModMath.{cpp,h}.
|
12 years ago |
vrld
|
5f586390d8
Add module `love.math`. Implements xorshift RNG.
|
12 years ago |