Sam Hocevar
485b9335aa
test: emscripten compilation fix in the trigonometry benchmark.
пре 11 година
Sam Hocevar
96e26a2bd5
math: rename Box2D to "box2" and add an integer version, "ibox2".
пре 11 година
Benjamin ‘Touky’ Huet
167915fd2b
MeshViewer : stupid crashfix
пре 11 година
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 година
Sam Hocevar
ddeaa5f81a
build: reorganise automake build system.
пре 11 година
Sam Hocevar
e6b0bd07bf
image: hide the constructor behind a factory so that we can later
return an already created object if necessary.
пре 11 година
Sam Hocevar
f16704ecb0
image: GetData returns uint8_t* instead of void*, it's a lot safer.
пре 11 година
Sam Hocevar
5a19e1539d
misc: fix a few URLs.
пре 11 година
Sam Hocevar
c59fc670c2
core: import pristine lua 5.2.1 in the engine code.
пре 11 година
Sam Hocevar
33ab2042e7
test: disable a few non-essential and potentially incorrect unit tests.
пре 11 година
Sam Hocevar
94acb0f519
build: the “fuck you, Apple” commit; work around three different
compiler bugs in the Xcode toolchain.
пре 11 година
Sam Hocevar
affdedd835
test: more complete PRNG unit tests.
пре 11 година
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 година
Sam Hocevar
9819425ba0
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
пре 11 година
Sam Hocevar
8143b73ffb
math: add Box2d + vec2 operations for easy box translations.
пре 11 година
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 година
Sam Hocevar
fdc877cc29
math: fix an idiotic bug in the box-box intersection routine.
пре 11 година
Sam Hocevar
7b30d99725
test: unit test for 2D boxes.
пре 11 година
Sam Hocevar
74836555be
lolremez: minor refactor.
пре 11 година
Sam Hocevar
29996cddec
build: fix btphystest.vcxproj.
пре 11 година
Sam Hocevar
80e0d4c1c0
math: replace Interp with TimeInterp. We'll see how useful it gets.
пре 11 година
Sam Hocevar
8b7482ae09
build: bad lolbot! fix the mess caused by its file renames.
пре 11 година
Lolbot
ad2ddbb715
build: convert source files to lowercase.
пре 11 година
Sam Hocevar
75a39b691e
test: add unit tests for maps using C strings as keys.
пре 11 година
Benjamin ‘Touky’ Huet
96972cdc4d
easymesh : Bitfield big Fuckup. Never code drunk.
пре 11 година
Sam Hocevar
5ea012c192
base: add Array::Swap() method and the corresponding unit test.
пре 11 година
Sam Hocevar
6c8186389f
math: Interp class for frame-independent interpolation.
пре 11 година
Sam Hocevar
41b43bb47f
build: add missing files to Makefile.am.
пре 11 година
Benjamin ‘Touky’ Huet
a573b0908b
MeshViewer : Added shitty texture to bulletproof easymesh UV, and therefore correct wrongly set ones.
пре 11 година
Benjamin ‘Touky’ Huet
e42d857ed4
easymesh : Added SmoothMesh operation, works well with triangle, not well with a box.
пре 11 година
Benjamin ‘Touky’ Huet
3ea6d93e95
easymesh : Added SplitTriangles function to multiply triangles for triangle MADNESS !
пре 11 година
Benjamin ‘Touky’ Huet
506befcf4a
easymesh : Added Twist/Ben/Shear & Taper refactor.
пре 11 година
Benjamin ‘Touky’ Huet
73fd59c69a
easymesh : all radius are now diameters so all mesh operation size values are coherent.
пре 11 година
Benjamin ‘Touky’ Huet
fb7bb880ea
easymesh: all operations now generate UVs for the mesh.
пре 11 година
Sam Hocevar
0e1a19f8e6
build: re-add liblolcore dependency tracking to all binary objects.
пре 11 година
Sam Hocevar
0463a898c3
build: fix syntax errors in the Visual Studio projects.
пре 11 година
Sam Hocevar
4b4d201a6d
build: reorganise AM_CPPFLAGS handling so that we can disable the
shitload of warnings Bullet spits at us.
пре 11 година
Sam Hocevar
6e1156aaea
build: split the main library into lolcore and lolbullet.
пре 11 година
Lolbot
3661a929e6
fixed 4 files out of 2376:
- removed 7 CR characters
- removed 5 trailing whitespaces
- replaced 24 tabs with spaces
пре 11 година
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 година
Benjamin ‘Touky’ Huet
bb0051ae8e
render : Added DebugRenderMode & corresponding shaders. naive (VERY) implementation in MeshViewer.
пре 11 година
Sam Hocevar
b1dcd100a2
meshviewer: use our File class to read the mesh data.
пре 11 година
Sam Hocevar
ff32da97ad
test: add missing unit tests for the Atomic template class.
пре 11 година
Sam Hocevar
32e3cff46a
sys: Atomic template class for thread-safe and potentially lockless
structures.
пре 11 година
Lolbot
1dc9139c69
fixed 17 files out of 2363:
- removed 55 CR characters
- removed 80 trailing whitespaces
- replaced 1236 tabs with spaces
пре 11 година
Benjamin ‘Touky’ Huet
028bd24017
Added MeshViewerBuffer.txt in vcproj.
пре 11 година
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).
пре 11 година
Benjamin ‘Touky’ Huet
c759348569
BtPhysTest : at last, a CIS FAIL !
пре 11 година
Benjamin ‘Touky’ Huet
96f3044ef0
BtPhysTest : added lights
пре 11 година
Sam Hocevar
e14a8d68a2
color: slightly tweak the RGB to HSV and HSL conversions for
improved numerical stability on i386.
пре 12 година