Sam Hocevar
|
17fe1306d2
|
math: improve outer product and add unit tests.
|
10 years ago |
Guillaume Bittoun
|
2511de1f90
|
arraynd: adding constructors and operators for vec_t<int, N> and vec_t<ptrdiff_t, N> types.
|
10 years ago |
Sam Hocevar
|
9f69882076
|
math: fix unallowed access to private data in vec_t.
|
10 years ago |
Guillaume Bittoun
|
2f056e0133
|
arraynd: replacing array2d and array3d by templated arraynd.
|
10 years ago |
Guillaume Bittoun
|
e03ac49383
|
arraynd: adding tests on size filling
|
10 years ago |
Guillaume Bittoun
|
04e44e2d89
|
arraynd: adding test for variable length subarrays
|
10 years ago |
Guillaume Bittoun
|
7cab9c634e
|
arraynd: index inversion on initializer_list construction
|
10 years ago |
Sam Hocevar
|
97cdc17ae1
|
math: add outer product for matrices and vectors.
|
10 years ago |
Sam Hocevar
|
a46afd6ed5
|
math: make cofactor computation and matrix inversion simpler and more generic.
|
10 years ago |
Sam Hocevar
|
f7a8d5079b
|
math: disable a few unused operators (for integer quaternions, for instance).
|
10 years ago |
Sam Hocevar
|
62f7068516
|
math: move code from vector.cpp to matrix.cpp and transform.cpp.
|
10 years ago |
Guillaume Bittoun
|
a28832a53b
|
arraynd: implementation/correction of the initializer_list constructor
|
10 years ago |
Sam Hocevar
|
ffa21ed0d0
|
misc: disable all 16-bit float vectors when using Visual Studio.
|
10 years ago |
Sam Hocevar
|
50fc5c818c
|
base: FUCK VISUAL STUDIO; VISUAL STUDIO IS DYING; VISUAL STUDIO SUCKS;
VISUAL STUDIO IS DEAD TO ME; VISUAL STUDIO DID WTC.
|
10 years ago |
Sam Hocevar
|
d88217d413
|
base: fix header inconsistencies that broke the build.
|
10 years ago |
Sam Hocevar
|
7dba2ff3a1
|
base: use ptrdiff_t for array and string sizes and some other things.
|
10 years ago |
Sam Hocevar
|
67ce50ef59
|
base: fix a minor compilation warning.
|
10 years ago |
Sam Hocevar
|
761f92c0b4
|
base: get rid of the ssize_t requirement and use ptrdiff_t instead.
|
10 years ago |
Sam Hocevar
|
29dd656a78
|
math: make swizzling parameters readable in base 10 so that we understand
what's going on in the debugger.
|
10 years ago |
Sam Hocevar
|
a772eb4fd4
|
base: remove unneeded operators in class array.
|
10 years ago |
Sam Hocevar
|
90f0420382
|
math: fix uninitialised variable in arraynd.
|
10 years ago |
Sam Hocevar
|
47f7fabbd9
|
math: activate arraynd and simplify some stuff in there.
|
10 years ago |
Sam Hocevar
|
52f3fc7eb0
|
math: try to get proper EBCO from that fucking Visual Studio piece of shit.
|
10 years ago |
Sam Hocevar
|
4be9ea2a4e
|
misc: replace NULL with nullptr.
|
10 years ago |
Sam Hocevar
|
50ce473fcf
|
math: disable some half-float vectors because of VS2013.
|
10 years ago |
Sam Hocevar
|
9106388a8a
|
math: make initializer_list vector constructors implicit.
|
10 years ago |
Sam Hocevar
|
cc5c21c34b
|
math: add iterators and initializer_list constructors to vec_t.
|
10 years ago |
Guillaume Bittoun
|
b3ce9ea902
|
arraynd: removing ComputeTotalSize for specialization also.
|
10 years ago |
Guillaume Bittoun
|
b8c5f58826
|
arraynd: Removing useless method ComputeTotalSize.
|
10 years ago |
Guillaume Bittoun
|
3921c579e1
|
arraynd: specializing arraynd for dimension 1
|
10 years ago |
Sam Hocevar
|
e49353f457
|
base: use variadic templates to remove 300+ lines of redundant code.
|
10 years ago |
Sam Hocevar
|
7cf72fd16e
|
base: add a simple tuple implementation.
|
10 years ago |
Guillaume Bittoun
|
56325a0773
|
arraynd: handling array initialization like "arraynd<> a({ { {...}, {..." and fixing bug on arraynd::operator[] (proxy level was wrong).
|
10 years ago |
Sam Hocevar
|
dec41f198f
|
test: syntax fix.
|
10 years ago |
Sam Hocevar
|
18476d1b9a
|
test: add unit test for arraynd (deactivated for now).
|
10 years ago |
Sam Hocevar
|
079ee8dcbf
|
math: some new operators for generic vectors, plus unit tests.
|
10 years ago |
Guillaume Bittoun
|
1b784d3a24
|
arraynd: templating proxy’s inner array type instead of specializing
|
10 years ago |
Guillaume Bittoun
|
faf11bcb93
|
arraynd: proxy implementation
|
10 years ago |
Guillaume Bittoun
|
64c714ed37
|
Adding arraynd skeleton
|
10 years ago |
Sam Hocevar
|
5dc05d7f3e
|
build: remove empty directories and add proper svn:ignore flags.
|
10 years ago |
Sam Hocevar
|
7db4bee1c1
|
pimp: add some clustering in the Amiga export to speed up things.
|
10 years ago |
Sam Hocevar
|
83199e3028
|
math: explicitly delete ctors and dtors in swizzled vectors.
|
10 years ago |
Sam Hocevar
|
49692b8ba3
|
math: add saturate(x) as a shortcut to clamp(x,0,1).
|
10 years ago |
Sam Hocevar
|
e996e953c8
|
sys: fix unititialised class member in File.
|
10 years ago |
Sam Hocevar
|
7babf9dfde
|
math: fix a nasty bug involving swizzling vectors, add two safeguards so
that it never happens again, and unit tests in case it happens again.
|
10 years ago |
Sam Hocevar
|
2087f920e7
|
math: reduce half operator count by half. Lol.
|
10 years ago |
Sam Hocevar
|
3c4c41b298
|
math: reduce macro madness in half.h.
|
10 years ago |
Sam Hocevar
|
d4144b1730
|
build: include common.am in Makefile.am stubs we create.
|
10 years ago |
Sam Hocevar
|
11dc5eebcc
|
math: put almost all quaternion/vector/matrix operators in ADL namespaces.
|
10 years ago |
Sam Hocevar
|
f6dd334c1a
|
math: use a combination of ADL and enable_if black magic to get rid of macros.
|
10 years ago |