Sam Hocevar
03c17fcae4
base: clean up and refactor containers.
The containers no longer force the user to use the ptrdiff_t type for
size information. For convenience, size() now always returns an int,
and the size_s() method offers a way to handle arrays with more than
2 billion elements. Internally, we still use ptrdiff_t, though.
Since so much code had to be changed, I took the opportunity to get
rid of capitalised accessors for classes that are lowercase.
9 лет назад
Benjamin ‘Touky’ Huet
a8642c05c2
small buildfix in lolunit
9 лет назад
Sam Hocevar
af3ca562b9
lolremez: fix wrong argument parsing and improve error messages.
9 лет назад
Sam Hocevar
24cbf425c2
lolunit: unit tests now display a meaningful report in Visual Studio.
9 лет назад
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 лет назад
Sam Hocevar
4e76c6e708
lolremez: shorter code in the expression parser.
10 лет назад
Sam Hocevar
29d65231f3
lolremez: add thread workers for slightly faster convergence.
10 лет назад
Sam Hocevar
288bec4312
lolremez: add more timing information for the linear system solving.
10 лет назад
Sam Hocevar
a07844682e
build: remove dead PS3 code.
10 лет назад
Sam Hocevar
5f953f40ad
lolremez: various tweaks.
10 лет назад
Sam Hocevar
a46354472d
lolremez: add abs() function, implement full high-precision floating
point parsing, add support for unary plus and minus.
10 лет назад
Sam Hocevar
d3a775738d
lolremez: use successive parabolic interpolation for extrema search.
10 лет назад
Sam Hocevar
19727c3ddf
lolremez: tweak code so that it builds on Windows (remove unsupported C++/Unix features).
10 лет назад
Sam Hocevar
afc62a5399
lolremez: useless refactoring.
10 лет назад
Sam Hocevar
0e71596def
lolremez: greatly improve root search times by using simple regula falsi.
10 лет назад
Sam Hocevar
50c2b4b46e
lolremez: allow spaces in arithmetic expressions.
10 лет назад
Sam Hocevar
506b0e21e1
lolremez: implement a mathematical expression evaluator.
10 лет назад
Sam Hocevar
d812101ae5
math: add vec5, vec6, etc. types up to 12 for convenience.
10 лет назад
Sam Hocevar
364014c6e7
lolremez: minor cosmetic changes and comments.
10 лет назад
Sam Hocevar
0522730f12
lolremez: use array2d for the linear system solver.
10 лет назад
Sam Hocevar
da26809df9
lolremez: use the polynomial composition provided by the engine.
10 лет назад
Sam Hocevar
d34f0e2991
lolremez: simplify the Remez solver by using our new polynomial class.
10 лет назад
Sam Hocevar
d373081b80
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
10 лет назад
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
10 лет назад
Sam Hocevar
6b64e2c337
lolunit: switch assert macros to lowercase.
10 лет назад
Sam Hocevar
cadc4d18b0
test: move the unit tests to the engine, and lolunit out of the engine.
10 лет назад
Sam Hocevar
7cf72fd16e
base: add a simple tuple implementation.
10 лет назад
Sam Hocevar
5dc05d7f3e
build: remove empty directories and add proper svn:ignore flags.
10 лет назад
Sam Hocevar
7a28671dee
math: get rid of the base_vec* classes (thanks to relaxed unions), rename
MASK to SWIZZLE in the vector templates, rename matrix<> to mat<> for
consistency, implement transposition for all matrix sizes, make matrix
columns private and only accessible through operator[].
10 лет назад
Sam Hocevar
31738409d9
math: add shortcuts and syntax colouring for mat3x4, mat3x2, etc.
10 лет назад
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
10 лет назад
Sam Hocevar
398ee1b4d5
base: use lol::array in most places.
10 лет назад
Sam Hocevar
7e9f926c43
base: switch map, hash, array2d and array3d to lowercase, like standard
C++ containers.
10 лет назад
Sam Hocevar
d982b67aaa
image: add methods to save images and a small test program.
10 лет назад
Sam Hocevar
76740f77bc
math: remove some vector constants that were a bit too specific.
10 лет назад
Sam Hocevar
2c2ea82f8f
vimlol: add "UNUSED" and "ASSERT" to our list of keywords.
10 лет назад
Sam Hocevar
8b2439f127
vimlol: highlight our maths constants F_PI, D_PI etc. in vim.
10 лет назад
Benlitz
246af694d8
removed vs2010 solution, migrated all projects to 2012. VsLol stays on 2010 for compatibility and now has its own sln.
11 лет назад
Sam Hocevar
8e732627d2
lolremez: add missing matrix.h implementation.
11 лет назад
Sam Hocevar
d0ebacf545
lolremez: simplify the solver class.
11 лет назад
Sam Hocevar
90706c8d44
lolremez: move some LolRemez matrix functions out of the engine.
11 лет назад
Sam Hocevar
f9840e3458
lolremez: move LolRemez out of the engine, it's really too specific.
11 лет назад
Sam Hocevar
0c17fcb8cd
vslol: mark version 1.0.2.0.
11 лет назад
Sam Hocevar
98746e418c
vslol: ignore Sony VSE plugin classifier madness.
11 лет назад
Sam Hocevar
68ae1dd35e
vslol: disable funky debug colouring in .lolfx files.
11 лет назад
Sam Hocevar
62fae5dedb
vimlol: fix typo.
11 лет назад
Sam Hocevar
96e26a2bd5
math: rename Box2D to "box2" and add an integer version, "ibox2".
11 лет назад
Sam Hocevar
5c1389ee2d
vslol: fix a few code quality issues.
11 лет назад
Sam Hocevar
a6ade16534
vslol: add HLSL types to the Lol Engine types and update version.
11 лет назад
Sam Hocevar
781c355b44
vslol: highlight Lol Engine types if the solution name is Lol.sln.
11 лет назад