Sam Hocevar
affdedd835
test: more complete PRNG unit tests.
11 years ago
Sam Hocevar
700520d4d6
math: move rand() to its own header, ensure it only returns
positive values, and add a unit test for rand<int>.
11 years ago
Sam Hocevar
9819425ba0
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
11 years ago
Sam Hocevar
8143b73ffb
math: add Box2d + vec2 operations for easy box translations.
11 years ago
Sam Hocevar
16a620d537
scene: start refactoring the camera code; we now have a stack of cameras
in the scene where we can push and pop cameras.
11 years ago
Sam Hocevar
fdc877cc29
math: fix an idiotic bug in the box-box intersection routine.
11 years ago
Sam Hocevar
7b30d99725
test: unit test for 2D boxes.
11 years ago
Sam Hocevar
74836555be
lolremez: minor refactor.
11 years ago
Sam Hocevar
29996cddec
build: fix btphystest.vcxproj.
11 years ago
Sam Hocevar
80e0d4c1c0
math: replace Interp with TimeInterp. We'll see how useful it gets.
11 years ago
Sam Hocevar
8b7482ae09
build: bad lolbot! fix the mess caused by its file renames.
11 years ago
Lolbot
ad2ddbb715
build: convert source files to lowercase.
11 years ago
Sam Hocevar
75a39b691e
test: add unit tests for maps using C strings as keys.
11 years ago
Benjamin ‘Touky’ Huet
96972cdc4d
easymesh : Bitfield big Fuckup. Never code drunk.
11 years ago
Sam Hocevar
5ea012c192
base: add Array::Swap() method and the corresponding unit test.
11 years ago
Sam Hocevar
6c8186389f
math: Interp class for frame-independent interpolation.
11 years ago
Sam Hocevar
41b43bb47f
build: add missing files to Makefile.am.
11 years ago
Benjamin ‘Touky’ Huet
a573b0908b
MeshViewer : Added shitty texture to bulletproof easymesh UV, and therefore correct wrongly set ones.
11 years ago
Benjamin ‘Touky’ Huet
e42d857ed4
easymesh : Added SmoothMesh operation, works well with triangle, not well with a box.
11 years ago
Benjamin ‘Touky’ Huet
3ea6d93e95
easymesh : Added SplitTriangles function to multiply triangles for triangle MADNESS !
11 years ago
Benjamin ‘Touky’ Huet
506befcf4a
easymesh : Added Twist/Ben/Shear & Taper refactor.
11 years ago
Benjamin ‘Touky’ Huet
73fd59c69a
easymesh : all radius are now diameters so all mesh operation size values are coherent.
11 years ago
Benjamin ‘Touky’ Huet
fb7bb880ea
easymesh: all operations now generate UVs for the mesh.
11 years ago
Sam Hocevar
0e1a19f8e6
build: re-add liblolcore dependency tracking to all binary objects.
11 years ago
Sam Hocevar
0463a898c3
build: fix syntax errors in the Visual Studio projects.
11 years ago
Sam Hocevar
4b4d201a6d
build: reorganise AM_CPPFLAGS handling so that we can disable the
shitload of warnings Bullet spits at us.
11 years ago
Sam Hocevar
6e1156aaea
build: split the main library into lolcore and lolbullet.
11 years ago
Lolbot
3661a929e6
fixed 4 files out of 2376:
- removed 7 CR characters
- removed 5 trailing whitespaces
- replaced 24 tabs with spaces
11 years ago
Benjamin ‘Touky’ Huet
e4cf8211e4
Added VertexDictionnary object to manage vertices with same coord && connected vertices.
Added UVs system with and UVs generation test (not very conclusive)
11 years ago
Benjamin ‘Touky’ Huet
bb0051ae8e
render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer.
12 years ago
Sam Hocevar
b1dcd100a2
meshviewer: use our File class to read the mesh data.
12 years ago
Sam Hocevar
ff32da97ad
test: add missing unit tests for the Atomic template class.
12 years ago
Sam Hocevar
32e3cff46a
sys: Atomic template class for thread-safe and potentially lockless
structures.
12 years ago
Lolbot
1dc9139c69
fixed 17 files out of 2363:
- removed 55 CR characters
- removed 80 trailing whitespaces
- replaced 1236 tabs with spaces
12 years ago
Benjamin ‘Touky’ Huet
028bd24017
Added MeshViewerBuffer.txt in vcproj.
12 years ago
Benjamin ‘Touky’ Huet
157e67c2be
MeshViewer :
- Added file handling with new mesh generation each time the buffer file is updated (that's not very pretty, but it works).
- Added multiple mesh viewing with "history" and some basic camera movement (it uses the keypad for now, not very sam friendly, I know).
12 years ago
Benjamin ‘Touky’ Huet
c759348569
BtPhysTest : at last, a CIS FAIL !
12 years ago
Benjamin ‘Touky’ Huet
96f3044ef0
BtPhysTest : added lights
12 years ago
Sam Hocevar
e14a8d68a2
color: slightly tweak the RGB to HSV and HSL conversions for
improved numerical stability on i386.
12 years ago
Sam Hocevar
9d06eb6503
meshviewer: add two lights.
12 years ago
Sam Hocevar
b25222af18
base: implement UNUSED() macro and put it here and there.
12 years ago
Sam Hocevar
fef577669e
meshviewer: include <cfloat> for missing FLT_MAX definition.
12 years ago
Benjamin ‘Touky’ Huet
7a051f9455
Added MeshViewer new project, its goal being to have a program capable of previewing a mesh from an outer source (.txt, js, etc ...) in order to speed up mesh creation.
Added RadialJitter("rj") to EasyMesh parser.
12 years ago
Sam Hocevar
39cd7a1fd0
build: revert the weak symbol work; it confuses Visual Studio too much.
12 years ago
Sam Hocevar
d3af7653c0
build: provide weak symbols for lol_sdl_main on Visual Studio.
12 years ago
Sam Hocevar
96256f45ce
build: use our own main() wrapper in addition to SDL's, and only
in that case. Currently only works with GCC.
12 years ago
Sam Hocevar
57814351b9
base: optimise array concatenation, fix string concatenation, and fix
string concatenation unit tests.
12 years ago
Sam Hocevar
a5cb244d1d
test: add unit tests for the String class; they currently fail
because we actually have a bug!
12 years ago
Sam Hocevar
41b752e635
base: tweak the asserts in the String class, add String::Sub() method
for substrings, and the corresponding unit tests.
12 years ago
Sam Hocevar
bbf72e1a64
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
12 years ago