Sam Hocevar
f6c386f560
Allow to build without Bullet Physics.
hace 7 años
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
hace 8 años
Sam Hocevar
1105a075ce
Rename lol::Timer to lol::timer. Because.
hace 8 años
Sam Hocevar
cfeaeabf2d
Get rid of lol::map because std::map is obviously superior.
hace 8 años
Sam Hocevar
980ff37a58
Get rid of numerous uses of lol::String.
hace 8 años
Sam Hocevar
968f7c92bb
Get rid of String::format in favour of a std::string version.
hace 8 años
Sam Hocevar
487c82609c
Make lol-lua an optional dependency.
hace 8 años
Sam Hocevar
c7fa8939f5
Fix a few build issues when features are disabled.
hace 8 años
Sam Hocevar
dd140fd9e1
Refactor real numbers so that they can have a dynamic size.
Some checks are failing, I probably messed up several functions.
hace 8 años
Sam Hocevar
2df8762d47
Migrate to Visual Studio 2017.
hace 8 años
Sam Hocevar
17db5be5c8
math: remove some hardcoded stuff from the real numbers implementation.
hace 8 años
Sam Hocevar
df7454b36a
math: add real::R_MIN and real::R_MAX and get rid of real::ulp().
hace 8 años
Sam Hocevar
7558d0664a
image: more method renaming for consistency.
hace 8 años
Sam Hocevar
10f244192c
math: allow to create real numbers from long doubles
hace 9 años
Guillaume Bittoun
15d3a82b5c
Adding test for timer
hace 9 años
Sam Hocevar
f69c3352ea
build: clean up “make dist” rules.
hace 9 años
Sam Hocevar
7ccf613a08
build: move Lua to a submodule
hace 9 años
Sam Hocevar
f1a2b66d62
build: move Bullet to a submodule
hace 9 años
Sam Hocevar
14eafb48f5
build: add flags to disable unwanted builds
For now the flags are: --disable-doc --disable-test
--disable-samples --disable-tutorial.
hace 9 años
Sam Hocevar
ce05d8589a
build: refactor msbuild files for usage as a submodule
hace 9 años
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.
hace 9 años
Sam Hocevar
ba0e467a2e
build: rename liblolcore to liblol-core, etc.
hace 9 años
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.
hace 9 años
Sam Hocevar
d84605c105
Remove Xbox 360 support, too much stuff no longer compiles.
hace 10 años
Guillaume Bittoun
3f6cd5b120
polynomial: accuracy improvement on double root in order 3
hace 10 años
Guillaume Bittoun
51d8ed6458
polynomial: Improving tests for double/triple roots in order 3
hace 10 años
Sam Hocevar
75035be227
math: fix epsilon in some double equality unit tests.
hace 10 años
Sam Hocevar
d332ad0f6f
math: add unit tests to check that radians(90) == radians(90.0).
hace 10 años
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.
hace 10 años
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.
hace 10 años
Sam Hocevar
5a15c90fcc
math: add SQT inverse method.
hace 10 años
Sam Hocevar
d618053d00
math: add composition of SQT transforms and the corresponding unit tests.
hace 10 años
Sam Hocevar
45b792cc8e
test: refactor some stuff in the unit tests because I like it better that way.
hace 10 años
Sam Hocevar
7166760eaf
math: add a new sqt type for scale/rotation/translation transforms.
hace 10 años
Sam Hocevar
861568b146
misc: some cleanup in files, including UTF-8 BOM.
hace 10 años
Sam Hocevar
441a20af99
misc: fix copyright information here and there.
hace 10 años
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.
hace 10 años
Guillaume Bittoun
efa94fa2e9
polynomial: adding test with bigger solutions
hace 10 años
Guillaume Bittoun
93dc8a70a7
polynomial: 3rd order solving v1.0
hace 10 años
Guillaume Bittoun
a327a68478
polynomial: 3rd order, almost done. Needs accurate tests
hace 10 años
Guillaume Bittoun
1c93dabbad
polynomial: more 3rd order fixes
hace 10 años
Guillaume Bittoun
26ec1481d3
polynomial: bunch of fixes for 3rd order
hace 10 años
Guillaume Bittoun
c55f25f821
drafting polynomial 3rd order solving. To be continued…
hace 10 años
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
hace 10 años
Sam Hocevar
51b4210361
base: reintroduce array::swap.
It merely performs an std::swap() on both array elements, but it’s
apparently convenient to have.
hace 10 años
Sam Hocevar
70edc0d38e
misc: carry on with the lowercase rampage.
Using “Array” instead of “array” is now fully deprecated, and I replaced
the Log::Debug() etc. functions with msg::debug() etc. because log:: was
unavailable due to being a maths function.
Added up-to-date copyright notice and BOM to modified files, just in case.
hace 10 años
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 10 años
Sam Hocevar
04a5da4652
test: minor unit test refactoring.
hace 10 años
Benjamin ‘Touky’ Huet
825401d997
Brought threads to C++11
Revamped thread communication
Fixed dynamic thread Add/Remove
Added unit-test for threads !!!!
hace 10 años
Guillaume Bittoun
b1e1f23b8f
matrix: using permutation and LU decomposition for determinant and inverse computing
hace 10 años