Sam Hocevar
|
ad9a388e80
|
misc: remove 100% of the "using namespace std;" madness.
|
10 år sedan |
Sam Hocevar
|
fe665f85b4
|
base: strip core.h from its contents and put it in public/private headers.
|
10 år sedan |
Sam Hocevar
|
15c3039ba5
|
misc: fix some coding errors found by Coverity.
|
11 år sedan |
Sam Hocevar
|
485b9335aa
|
test: emscripten compilation fix in the trigonometry benchmark.
|
11 år sedan |
Sam Hocevar
|
6faf4ee067
|
base: roll our own constants because it’s always a pain in the ass
to get M_PI from the platform headers and cast it to float.
|
11 år sedan |
Sam Hocevar
|
9819425ba0
|
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
|
11 år sedan |
Benjamin ‘Touky’ Huet
|
c7219ff1dd
|
New year copyright update.
|
12 år sedan |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
12 år sedan |
Sam Hocevar
|
fbaf32f1b9
|
core: make timers second-based rather than millisecond-based.
|
12 år sedan |
Sam Hocevar
|
eb51928415
|
math: add inversion code for 2×2 and 3×3 matrices, and transposition
code for all matrices.
|
12 år sedan |
Sam Hocevar
|
2831476774
|
build: major refactoring of the Win32 and Xbox project files; we now
link properly on the Xbox.
|
12 år sedan |
Sam Hocevar
|
0a52e68f6f
|
math: rename matrix.h to vector.h and simplify some stuff, especially in
the matrix code itself.
|
13 år sedan |
Sam Hocevar
|
2edb8115e6
|
core: port all code to NativeClient. Nothing runs for now, but it builds.
|
13 år sedan |
Sam Hocevar
|
4041166c56
|
core: improve sin() and exp() performance by replacing divisions with
multiplications where appropriate.
|
13 år sedan |
Sam Hocevar
|
fde544911b
|
core: new benchmark snippet for operations on reals.
|
13 år sedan |
Sam Hocevar
|
cc2bdf0b01
|
test: fix the benchmark suite compilation on SNC.
|
13 år sedan |
Sam Hocevar
|
5081f7034a
|
test: reorganise test suite and benchmark code.
|
13 år sedan |