Sam Hocevar
9e9c18d37e
test: add several unit tests for rotations with matrices and quaternions.
12 years ago
Sam Hocevar
c9520d2aca
test: add unit tests for the Array class.
12 years ago
Sam Hocevar
eb51928415
math: add inversion code for 2×2 and 3×3 matrices, and transposition
code for all matrices.
12 years ago
Sam Hocevar
0a52e68f6f
math: rename matrix.h to vector.h and simplify some stuff, especially in
the matrix code itself.
13 years ago
Sam Hocevar
3283dfc011
build: minor reorganisation of the sandbox code.
13 years ago
Sam Hocevar
433d05964c
core: implement complex numbers and add unit tests for these.
13 years ago
Sam Hocevar
def84d569d
core: implement a quaternion class and tighten some vector operation rules
to avoid common programming errors.
13 years ago
Sam Hocevar
c9aa11c9e3
test: start writing tutorials and other shit.
13 years ago
Sam Hocevar
ff45d2ac98
test: add a 10-line example program that computes Pi to the 150th digit.
13 years ago
Sam Hocevar
48bde6fa94
test: add simple unit tests for image loading.
13 years ago
Sam Hocevar
fde544911b
core: new benchmark snippet for operations on reals.
13 years ago
Sam Hocevar
5fc298964b
core: start working on a "real" class for arbitrarily sized floats.
13 years ago
Sam Hocevar
489389abbe
build: better clean rule for the test directory.
13 years ago
Sam Hocevar
160102ba03
build: new lol-build script for easier autobuilds.
13 years ago
Sam Hocevar
5081f7034a
test: reorganise test suite and benchmark code.
13 years ago
Sam Hocevar
170050501f
test: add unit tests to check whether the build environment behaved as
expected.
13 years ago
Sam Hocevar
a374127e80
test: replace CppUnit with our LolUnit test suite.
CppUnit is really too large for our needs, would require to be precompiled
for many platforms, in all combinations of debug and release modes, with
additional variants for libstdc++ versions. We replace it with our own
lightweight implementation, LolUnit. Good riddance.
13 years ago
Sam Hocevar
148f6838e9
test: replace lol-bench with lol-bench$(EXEEXT) in the Makefile to allow
"make bench" to work when cross-compiling for Windows.
13 years ago
Sam Hocevar
35454b8f94
test: add an empty sandbox program and update .gitignore.
13 years ago
Sam Hocevar
105485a3aa
test: new test for trigonometric functions.
13 years ago
Sam Hocevar
aa6e832fd7
build: clean up .self files and allow to build the benchmark on the PS3.
13 years ago
Sam Hocevar
4379388b52
test: add first test routines for the half class.
13 years ago
Sam Hocevar
8eeeca422f
test: add a debug quad test application.
13 years ago
Sam Hocevar
da73635c64
Add an optional cppunit dependency for unit tests.
13 years ago