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