Sam Hocevar
1f45f3acdb
math: improve matrix inversion unit tests.
6 лет назад
Sam Hocevar
32583a7c41
math: rewrite the LU decomposition code and the matrix inversion code.
6 лет назад
Sam Hocevar
c11c941351
math: more unit tests for the vector classes.
6 лет назад
Sam Hocevar
2c484bc8ae
Add NX64 platform to projects.
6 лет назад
Sam Hocevar
fcfafa2035
test: add a unit test of real::cbrt() and fix the camera unit test.
6 лет назад
Sam Hocevar
7ba8458818
Remove old feature macros that are no longer relevant nowadays.
7 лет назад
Sam Hocevar
6e428a6243
Remove deprecated code I don’t understand.
7 лет назад
Sam Hocevar
0e79b79d23
Remove the overly complex thread manager.
7 лет назад
Sam Hocevar
d1df57af0d
Better unit tests for real numbers.
7 лет назад
Sam Hocevar
67dd817aa2
math: remove unused trig code.
Let’s be honest, I’m never gonna use it in its current form.
7 лет назад
Sam Hocevar
8141a4e6f7
math: add lol::gcd() function.
7 лет назад
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
7 лет назад
Sam Hocevar
50e494803d
Replace array::empty() with array::clear().
We used to have lol::map::empty() to empty maps, but in std::map
this method is called clear(). It sounds safe to harmonise between
our types and have lol::array::clear() too.
7 лет назад
Sam Hocevar
f6c386f560
Allow to build without Bullet Physics.
7 лет назад
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
8 лет назад
Sam Hocevar
1105a075ce
Rename lol::Timer to lol::timer. Because.
8 лет назад
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
8 лет назад
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
8 лет назад
Sam Hocevar
968f7c92bb
Get rid of String::format in favour of a std::string version.
8 лет назад
Sam Hocevar
487c82609c
Make lol-lua an optional dependency.
8 лет назад
Sam Hocevar
c7fa8939f5
Fix a few build issues when features are disabled.
8 лет назад
Sam Hocevar
dd140fd9e1
Refactor real numbers so that they can have a dynamic size.
Some checks are failing, I probably messed up several functions.
8 лет назад
Sam Hocevar
2df8762d47
Migrate to Visual Studio 2017.
8 лет назад
Sam Hocevar
17db5be5c8
math: remove some hardcoded stuff from the real numbers implementation.
8 лет назад
Sam Hocevar
df7454b36a
math: add real::R_MIN and real::R_MAX and get rid of real::ulp().
8 лет назад
Sam Hocevar
7558d0664a
image: more method renaming for consistency.
8 лет назад
Sam Hocevar
10f244192c
math: allow to create real numbers from long doubles
9 лет назад
Guillaume Bittoun
15d3a82b5c
Adding test for timer
9 лет назад
Sam Hocevar
f69c3352ea
build: clean up “make dist” rules.
9 лет назад
Sam Hocevar
7ccf613a08
build: move Lua to a submodule
9 лет назад
Sam Hocevar
f1a2b66d62
build: move Bullet to a submodule
9 лет назад
Sam Hocevar
14eafb48f5
build: add flags to disable unwanted builds
For now the flags are: --disable-doc --disable-test
--disable-samples --disable-tutorial.
9 лет назад
Sam Hocevar
ce05d8589a
build: refactor msbuild files for usage as a submodule
9 лет назад
Sam Hocevar
c6f4070e70
build: refactor autotools files for out-of-tree builds.
All these changes will allow us to more easily add Lol Engine as a
submodule of another Git project.
9 лет назад
Sam Hocevar
ba0e467a2e
build: rename liblolcore to liblol-core, etc.
9 лет назад
Sam Hocevar
8044747ac3
base: new string functions.
Add String.split(char) to split into an array, and add a simple
char const * + lol::String free operator.
9 лет назад
Sam Hocevar
d84605c105
Remove Xbox 360 support, too much stuff no longer compiles.
10 лет назад
Guillaume Bittoun
3f6cd5b120
polynomial: accuracy improvement on double root in order 3
10 лет назад
Guillaume Bittoun
51d8ed6458
polynomial: Improving tests for double/triple roots in order 3
10 лет назад
Sam Hocevar
75035be227
math: fix epsilon in some double equality unit tests.
10 лет назад
Sam Hocevar
d332ad0f6f
math: add unit tests to check that radians(90) == radians(90.0).
10 лет назад
Sam Hocevar
078751a820
math: all API functions dealing with angles now use radians.
We already have the convenient degrees() and radians() functions to convert
between angle formats. This commit involves a lot of refactoring here and
there and I may have missed some places where conversions were needed. But
hopefully there aren’t may such places.
10 лет назад
Sam Hocevar
45b57cc102
math: rename re() to inverse() in all classes.
The name “re” came from “reciprocal” but since we have “inverse” for
matrices, I thought it would be nice to make everything consistent.
10 лет назад
Sam Hocevar
5a15c90fcc
math: add SQT inverse method.
10 лет назад
Sam Hocevar
d618053d00
math: add composition of SQT transforms and the corresponding unit tests.
10 лет назад
Sam Hocevar
45b792cc8e
test: refactor some stuff in the unit tests because I like it better that way.
10 лет назад
Sam Hocevar
7166760eaf
math: add a new sqt type for scale/rotation/translation transforms.
10 лет назад
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
10 лет назад
Sam Hocevar
441a20af99
misc: fix copyright information here and there.
10 лет назад
Sam Hocevar
38733fade7
math: move the matrix-to-quaternion code to a global header.
This lets us use the code for non-float variable types. I also got
rid of the mat4-to-quat code so that users are forced to use the
mat3-to-quat code and possibly discover places where their code is
suboptimal.
10 лет назад