love.math.colorFromBytes |
Converts a color from 0..255 to 0..1 range. |
11.3 |
|
love.math.colorToBytes |
Converts a color from 0..1 to 0..255 range. |
11.3 |
|
love.math.compress |
Compresses a string or data using a specific compression algorithm. |
0.10.0 |
|
love.math.decompress |
Decompresses a CompressedData or previously compressed string or Data object. |
0.10.0 |
|
love.math.gammaToLinear |
Converts a color from gamma-space (sRGB) to linear-space (RGB). |
0.9.1 |
|
love.math.getRandomSeed |
Gets the seed of the random number generator. |
0.9.0 |
|
love.math.getRandomState |
Gets the current state of the random number generator. |
0.9.1 |
|
love.math.isConvex |
Checks whether a polygon is convex. |
0.9.0 |
|
love.math.linearToGamma |
Converts a color from linear-space (RGB) to gamma-space (sRGB). |
0.9.1 |
|
love.math.newBezierCurve |
Creates a new BezierCurve object. |
0.9.0 |
|
love.math.newRandomGenerator |
Creates a new RandomGenerator object. |
0.9.0 |
|
love.math.newTransform |
Creates a new Transform object. |
11.0 |
|
love.math.noise |
Generates a Simplex noise value in 1-4 dimensions. |
0.9.0 |
|
love.math.perlinNoise |
Generates a Perlin noise value in 1-4 dimensions. |
12.0 |
|
love.math.random |
Get uniformly distributed pseudo-random number |
0.9.0 |
|
love.math.randomNormal |
Get a normally distributed pseudo random number. |
0.9.0 |
|
love.math.setRandomSeed |
Sets the seed of the random number generator. |
0.9.0 |
|
love.math.setRandomState |
Sets the current state of the random number generator. |
0.9.1 |
|
love.math.simplexNoise |
Generates a Simplex noise value in 1-4 dimensions. |
12.0 |
|
love.math.triangulate |
Decomposes a simple polygon into triangles. |
0.9.0 |
|