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.
hace 9 años
Benjamin ‘Touky’ Huet
a8642c05c2
small buildfix in lolunit
hace 9 años
Sam Hocevar
af3ca562b9
lolremez: fix wrong argument parsing and improve error messages.
hace 9 años
Sam Hocevar
24cbf425c2
lolunit: unit tests now display a meaningful report in Visual Studio.
hace 9 años
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).
hace 9 años
Sam Hocevar
4e76c6e708
lolremez: shorter code in the expression parser.
hace 10 años
Sam Hocevar
29d65231f3
lolremez: add thread workers for slightly faster convergence.
hace 10 años
Sam Hocevar
288bec4312
lolremez: add more timing information for the linear system solving.
hace 10 años
Sam Hocevar
a07844682e
build: remove dead PS3 code.
hace 10 años
Sam Hocevar
5f953f40ad
lolremez: various tweaks.
hace 10 años
Sam Hocevar
a46354472d
lolremez: add abs() function, implement full high-precision floating
point parsing, add support for unary plus and minus.
hace 10 años
Sam Hocevar
d3a775738d
lolremez: use successive parabolic interpolation for extrema search.
hace 10 años
Sam Hocevar
19727c3ddf
lolremez: tweak code so that it builds on Windows (remove unsupported C++/Unix features).
hace 10 años
Sam Hocevar
afc62a5399
lolremez: useless refactoring.
hace 10 años
Sam Hocevar
0e71596def
lolremez: greatly improve root search times by using simple regula falsi.
hace 10 años
Sam Hocevar
50c2b4b46e
lolremez: allow spaces in arithmetic expressions.
hace 10 años
Sam Hocevar
506b0e21e1
lolremez: implement a mathematical expression evaluator.
hace 10 años
Sam Hocevar
d812101ae5
math: add vec5, vec6, etc. types up to 12 for convenience.
hace 10 años
Sam Hocevar
364014c6e7
lolremez: minor cosmetic changes and comments.
hace 10 años
Sam Hocevar
0522730f12
lolremez: use array2d for the linear system solver.
hace 10 años
Sam Hocevar
da26809df9
lolremez: use the polynomial composition provided by the engine.
hace 10 años
Sam Hocevar
d34f0e2991
lolremez: simplify the Remez solver by using our new polynomial class.
hace 10 años
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.
hace 10 años
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
hace 10 años
Sam Hocevar
6b64e2c337
lolunit: switch assert macros to lowercase.
hace 10 años
Sam Hocevar
cadc4d18b0
test: move the unit tests to the engine, and lolunit out of the engine.
hace 10 años
Sam Hocevar
7cf72fd16e
base: add a simple tuple implementation.
hace 10 años
Sam Hocevar
5dc05d7f3e
build: remove empty directories and add proper svn:ignore flags.
hace 10 años
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[].
hace 10 años
Sam Hocevar
31738409d9
math: add shortcuts and syntax colouring for mat3x4, mat3x2, etc.
hace 10 años
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
hace 10 años
Sam Hocevar
398ee1b4d5
base: use lol::array in most places.
hace 10 años
Sam Hocevar
7e9f926c43
base: switch map, hash, array2d and array3d to lowercase, like standard
C++ containers.
hace 10 años
Sam Hocevar
d982b67aaa
image: add methods to save images and a small test program.
hace 10 años
Sam Hocevar
76740f77bc
math: remove some vector constants that were a bit too specific.
hace 10 años
Sam Hocevar
2c2ea82f8f
vimlol: add "UNUSED" and "ASSERT" to our list of keywords.
hace 10 años
Sam Hocevar
8b2439f127
vimlol: highlight our maths constants F_PI, D_PI etc. in vim.
hace 10 años
Benlitz
246af694d8
removed vs2010 solution, migrated all projects to 2012. VsLol stays on 2010 for compatibility and now has its own sln.
hace 11 años
Sam Hocevar
8e732627d2
lolremez: add missing matrix.h implementation.
hace 11 años
Sam Hocevar
d0ebacf545
lolremez: simplify the solver class.
hace 11 años
Sam Hocevar
90706c8d44
lolremez: move some LolRemez matrix functions out of the engine.
hace 11 años
Sam Hocevar
f9840e3458
lolremez: move LolRemez out of the engine, it's really too specific.
hace 11 años
Sam Hocevar
0c17fcb8cd
vslol: mark version 1.0.2.0.
hace 11 años
Sam Hocevar
98746e418c
vslol: ignore Sony VSE plugin classifier madness.
hace 11 años
Sam Hocevar
68ae1dd35e
vslol: disable funky debug colouring in .lolfx files.
hace 11 años
Sam Hocevar
62fae5dedb
vimlol: fix typo.
hace 11 años
Sam Hocevar
96e26a2bd5
math: rename Box2D to "box2" and add an integer version, "ibox2".
hace 11 años
Sam Hocevar
5c1389ee2d
vslol: fix a few code quality issues.
hace 11 años
Sam Hocevar
a6ade16534
vslol: add HLSL types to the Lol Engine types and update version.
hace 11 años
Sam Hocevar
781c355b44
vslol: highlight Lol Engine types if the solution name is Lol.sln.
hace 11 años