Sam Hocevar
|
baebd131fc
|
math: add a simple polynomial template class.
|
il y a 11 ans |
Guillaume Bittoun
|
06dfb3b0c0
|
simplex_interpolator: removing tests and correcting skew matrix
|
il y a 11 ans |
Guillaume Bittoun
|
6f5c15b165
|
simplex_interpolator: adding first test on 2D samples
|
il y a 11 ans |
Sam Hocevar
|
d373081b80
|
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
|
il y a 11 ans |
Guillaume Bittoun
|
2f056e0133
|
arraynd: replacing array2d and array3d by templated arraynd.
|
il y a 11 ans |
Sam Hocevar
|
47f7fabbd9
|
math: activate arraynd and simplify some stuff in there.
|
il y a 11 ans |
Sam Hocevar
|
11dc5eebcc
|
math: put almost all quaternion/vector/matrix operators in ADL namespaces.
|
il y a 11 ans |
Sam Hocevar
|
a6327b2469
|
math: move complex/quaternion code out of vector.h and into transform.h.
|
il y a 11 ans |
Sam Hocevar
|
b7e237c6ea
|
math: move matrix code out of vector.h into a new matrix.h header.
|
il y a 11 ans |
Sam Hocevar
|
8abafbc686
|
math: add Array3D template class. Happy, Touky? :-)
|
il y a 11 ans |
Sam Hocevar
|
5fb1ce656f
|
math: add an Array2D class that acts like a 2D matrix.
|
il y a 11 ans |
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.
|
il y a 13 ans |
Sam Hocevar
|
700520d4d6
|
math: move rand() to its own header, ensure it only returns
positive values, and add a unit test for rand<int>.
|
il y a 13 ans |
Sam Hocevar
|
6c8186389f
|
math: Interp class for frame-independent interpolation.
|
il y a 13 ans |
Sam Hocevar
|
06c4ec01c3
|
base: move headers around and promote gpu/ to lol/gpu/.
|
il y a 13 ans |
Sam Hocevar
|
2ef61862d8
|
math: implement clamp() for base C++ types and add more safeguards
to the RGB to HSV conversion.
|
il y a 13 ans |
Benjamin ‘Touky’ Huet
|
c7219ff1dd
|
New year copyright update.
|
il y a 13 ans |
Sam Hocevar
|
1fe4a5796e
|
math: mark unused arguments as used in fract().
|
il y a 13 ans |
Sam Hocevar
|
e00d987083
|
math: implement fract() for vectors and scalar types.
|
il y a 13 ans |
Sam Hocevar
|
ecfb33af45
|
math: define lol::pow to remove ambiguous calls.
|
il y a 13 ans |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
il y a 13 ans |
Sam Hocevar
|
397c7f2fda
|
core: implement hashing functions for half, float and double.
|
il y a 13 ans |
Sam Hocevar
|
b5cb7601a7
|
build: define our own std::abs() function for long long int on NaCl,
since it doesn't exist there.
|
il y a 13 ans |
Sam Hocevar
|
57c2805351
|
math: reimplement min(), max(), abs() and fmod() in the lol:: namespace to
avoid conflicts with the C++ stdlib.
|
il y a 13 ans |
Lolbot
|
23807ea88e
|
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
|
il y a 13 ans |
Benjamin ‘Touky’ Huet
|
2f85ae6d0a
|
|
il y a 13 ans |
Sam Hocevar
|
28728814cc
|
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
|
il y a 13 ans |
Sam Hocevar
|
8375f3443d
|
build: fix the PS3 port by using our trig.h everywhere instead of stdlib
functions; also remove a lot of idiotic "using namespace std" from the
codebase.
|
il y a 13 ans |