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