Sam Hocevar
4196f315be
misc: various C++11-related compilation fixes for Visual Studio.
11 years ago
Sam Hocevar
51d413f891
math: use std::array in bigints to avoid zero-sized C array errors.
11 years ago
Sam Hocevar
f791b672ed
misc: lots of compilation fixes for Visual Studio (related to mediocre
support for enable_if and other template metaprogramming techniques),
for Clang (related to static const template class member initialisation)
and for GCC (related to forward declaration of non-int enum classes).
11 years ago
Sam Hocevar
0eb371e7a1
base: use an explicit enum class for sort algorithm names.
11 years ago
Sam Hocevar
bfe91c1098
math: make sure PTRDIFF_MAX and INT_MAX are defined before using them.
11 years ago
Benjamin ‘Touky’ Huet
796232d22b
Added various stuff
11 years ago
Guillaume Bittoun
0e974f9109
matrix: using LU-decomposition for matrix inverse (losing precision unfortunately)
11 years ago
Guillaume Bittoun
f501d2e9a4
matrix: adding U-inverse function
11 years ago
Guillaume Bittoun
3cf7df7381
matrix: adding L-matrix inverse
11 years ago
Guillaume Bittoun
7c907f6f3e
matrix: determinant computing using LU-decomposition
11 years ago
Guillaume Bittoun
ebd15dbc0e
matrix: LU-decomposition, bug fixes + tests
11 years ago
Guillaume Bittoun
d565a73a15
matrix: starting LU-decomposition
11 years ago
Sam Hocevar
26c394053e
math: implement Karatsuba algorithm for large bigint multiplications.
11 years ago
Sam Hocevar
3835dc62e0
base: minor variable renaming.
11 years ago
Sam Hocevar
7330c2c8c2
math: move naive bigint multiplication to a static method and add unit tests.
11 years ago
Sam Hocevar
9b857804aa
math: bigint multiplication (the naïve O(n²) algorithm for now).
11 years ago
Sam Hocevar
d92547bf3e
math: add bitwise operators for bigints, comparison operators, unary
plus and minus, subtraction, and a lot of unit tests.
11 years ago
Sam Hocevar
ec00776d61
math: start working on a bigint type, which will be the fundation
for the next implementation of large float numbers.
11 years ago
Sam Hocevar
3cd4c4d413
base: more lowercase shit.
11 years ago
Sam Hocevar
31477c906e
build: remove the LolFx and the EasyMesh compilers for now.
11 years ago
Sam Hocevar
9cf137e47d
sys: fix an idiotic bug in the thread class.
11 years ago
Sam Hocevar
a07844682e
build: remove dead PS3 code.
11 years ago
Sam Hocevar
8657a3adfa
sys: use std::bind for thread workers to avoid ugly casts.
11 years ago
Sam Hocevar
72a7abbac1
base: add lowercase versions for most array methods.
11 years ago
Sam Hocevar
f8b29001cd
base: convert map and avl_tree methods to lowercase. Because.
11 years ago
Sam Hocevar
42a5296207
gpu: use PEGTL to split lolfx files into different parts.
11 years ago
Sam Hocevar
7ea3b73ed7
image: endianness fixes in the Imlib2 codec.
11 years ago
Jean-Yves Lamoureux
cf72e40d62
imlib2: Fix RGBA order in loader and use imlib_image_get_data_for_reading_only()
11 years ago
Sam Hocevar
c727182ac0
image: fix a bug introduced in the image conversion refactoring.
11 years ago
Sam Hocevar
4928ea91ad
image: improve the DBS dithering implementation by avoiding lots of tests.
11 years ago
Sam Hocevar
f075894e8e
base: improve assert messages in the array class.
11 years ago
Sam Hocevar
9bd8181379
base: fix map behaviour in release mode by moving code out of asserts.
11 years ago
Sam Hocevar
192e8f89ad
misc: add a test .ycm_extra_conf.py file for YouCompleteMe.
11 years ago
Sam Hocevar
5026358eef
image: add plenty of colour conversions.
11 years ago
Sam Hocevar
18f8cc6d1f
base: some Windows compilation fixes.
11 years ago
Sam Hocevar
9a6daa5b1e
math: optimise Perlin noise by parsing the hypercube using a Gray code pattern.
11 years ago
Sam Hocevar
1106503917
math: simple Perlin noise for comparison purposes.
11 years ago
Sam Hocevar
5d9488182f
math: extract the gradient generator from simplex noise so that we
can reuse it for other noise implementations.
11 years ago
Sam Hocevar
5e46ec76ba
math: add vecN::axis() factory.
11 years ago
Sam Hocevar
b0b5bcc6fa
math: tweak simplex noise scale according to dimension.
11 years ago
Sam Hocevar
7faf5d912a
math: tweak simplex noise and add plenty of comments and debug code.
11 years ago
Sam Hocevar
0af8c1fd6f
math: shitloads of tweaks, optimisations, fixes and comments to the
simplex noise code.
11 years ago
Sam Hocevar
91451eaf70
math: add explicit casts between matrices of same size but different types.
11 years ago
Sam Hocevar
d812101ae5
math: add vec5, vec6, etc. types up to 12 for convenience.
11 years ago
Sam Hocevar
5065a2653c
simplex: replace the N-dimensional gradient array with a simple seed.
11 years ago
Sam Hocevar
4c95301d31
simplex: use scaling values that match Stefan Gustavson’s paper.
11 years ago
Sam Hocevar
7ff3456239
simplex: optimisation; reduce the number of matrix multiplications.
11 years ago
Sam Hocevar
ce75538bcb
simplex: some refactoring and comments, but no changes to the algorithm.
11 years ago
Guillaume Bittoun
aa50d1c8e9
simplex_interpolator: scaling noise with an approximative factor 100 that seems to work well. No hint, so far on how to find an exact value for this scaling factor.
11 years ago
Guillaume Bittoun
a815a788e6
simplex_interpolator: bug fix on negative values.
11 years ago