Sam Hocevar
c9520d2aca
test: add unit tests for the Array class.
pirms 12 gadiem
Sam Hocevar
eb51928415
math: add inversion code for 2×2 and 3×3 matrices, and transposition
code for all matrices.
pirms 12 gadiem
Sam Hocevar
0a52e68f6f
math: rename matrix.h to vector.h and simplify some stuff, especially in
the matrix code itself.
pirms 13 gadiem
Sam Hocevar
3283dfc011
build: minor reorganisation of the sandbox code.
pirms 13 gadiem
Sam Hocevar
433d05964c
core: implement complex numbers and add unit tests for these.
pirms 13 gadiem
Sam Hocevar
def84d569d
core: implement a quaternion class and tighten some vector operation rules
to avoid common programming errors.
pirms 13 gadiem
Sam Hocevar
c9aa11c9e3
test: start writing tutorials and other shit.
pirms 13 gadiem
Sam Hocevar
ff45d2ac98
test: add a 10-line example program that computes Pi to the 150th digit.
pirms 13 gadiem
Sam Hocevar
48bde6fa94
test: add simple unit tests for image loading.
pirms 13 gadiem
Sam Hocevar
fde544911b
core: new benchmark snippet for operations on reals.
pirms 13 gadiem
Sam Hocevar
5fc298964b
core: start working on a "real" class for arbitrarily sized floats.
pirms 13 gadiem
Sam Hocevar
489389abbe
build: better clean rule for the test directory.
pirms 13 gadiem
Sam Hocevar
160102ba03
build: new lol-build script for easier autobuilds.
pirms 13 gadiem
Sam Hocevar
5081f7034a
test: reorganise test suite and benchmark code.
pirms 13 gadiem
Sam Hocevar
170050501f
test: add unit tests to check whether the build environment behaved as
expected.
pirms 13 gadiem
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.
pirms 13 gadiem
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.
pirms 13 gadiem
Sam Hocevar
35454b8f94
test: add an empty sandbox program and update .gitignore.
pirms 13 gadiem
Sam Hocevar
105485a3aa
test: new test for trigonometric functions.
pirms 13 gadiem
Sam Hocevar
aa6e832fd7
build: clean up .self files and allow to build the benchmark on the PS3.
pirms 13 gadiem
Sam Hocevar
4379388b52
test: add first test routines for the half class.
pirms 13 gadiem
Sam Hocevar
8eeeca422f
test: add a debug quad test application.
pirms 13 gadiem
Sam Hocevar
da73635c64
Add an optional cppunit dependency for unit tests.
pirms 13 gadiem