Sam Hocevar
|
e848af3f2a
|
math: fix an error in the quaternion code and update test suite.
|
il y a 11 ans |
Sam Hocevar
|
ca230a60ad
|
thread: implement Queue::TryPush and Queue::TryPop.
|
il y a 11 ans |
Sam Hocevar
|
7481fac29a
|
test: port the btphystest and meshviewer tests to the new input API.
|
il y a 11 ans |
Sam Hocevar
|
ef0bd031ab
|
base: Array::Remove(int) now accepts a negative index to remove elements
from the end. Also added Array::RemoveSwap() for faster removes at the
expense of element ordering.
|
il y a 11 ans |
Lolbot
|
8cc04f0ba9
|
fixed 7 files out of 2745:
- removed 0 CR characters
- removed 21 trailing whitespaces
- replaced 42 tabs with spaces
|
il y a 11 ans |
Sam Hocevar
|
5c6ceb6d0c
|
build: manually add lollua.vcxproj as a reference in all projects.
|
il y a 11 ans |
Sam Hocevar
|
7468547abc
|
ps4: prepare for the fioutaah!
|
il y a 11 ans |
Sam Hocevar
|
ad8144f0e8
|
scene: use a global g_scene object instead of Scene::GetDefault().
|
il y a 11 ans |
Sam Hocevar
|
13fb52cebe
|
gpu: move Video::Clear to Renderer::Clear.
|
il y a 11 ans |
Benlitz
|
e7b0c85e0f
|
Added comparison operators between strings and char const*
|
il y a 11 ans |
Sam Hocevar
|
23a850c78d
|
test: quick fix for the btphystest camera.
|
il y a 11 ans |
Sam Hocevar
|
9cfe1bffd6
|
easymesh: print full mesh source when compilation fails.
|
il y a 11 ans |
Sam Hocevar
|
7c8fc6df12
|
gpu: move more platform-specific code from Video to Render.
|
il y a 11 ans |
Sam Hocevar
|
274a732e3c
|
gpu: move SetClearColor and SetClearDepth to the Renderer and RenderContext
classes instead of Video.
|
il y a 11 ans |
Benjamin ‘Touky’ Huet
|
181334f5ad
|
Added shifted_perspective for easier camera handling.
MeshViewer : Camera update and small object tweak.
ortho to perspective transition is now perfect.
|
il y a 11 ans |
Sam Hocevar
|
98f8246323
|
build: lol-build now passes flags to configure, and configure now uses
optimisation flag -Os instead of -O3.
|
il y a 11 ans |
Sam Hocevar
|
13d3c9d828
|
test: speed up the Map unit test.
|
il y a 11 ans |
Lolbot
|
b078ba08ea
|
fixed 15 files out of 2730:
- removed 49 CR characters
- removed 2 trailing whitespaces
- replaced 1622 tabs with spaces
|
il y a 11 ans |
Benlitz
|
1e353d2d30
|
material and texture loading from .OBJ + uniform sampler assignment from the mesh class (wip)
|
il y a 11 ans |
Benlitz
|
4b98ef04a6
|
Added IndexOf and LastIndexOf methods in class String
|
il y a 11 ans |
Sam Hocevar
|
410513f8ac
|
test: remove dead code in an old test.
|
il y a 11 ans |
Benjamin ‘Touky’ Huet
|
665bd7d6e7
|
MeshViewer : Fov compensation now works correctly (all is bound on Page{Up|Down}) First commit in a while.
|
il y a 11 ans |
Jean-Yves Lamoureux
|
873a294d7a
|
* Whoops. ça va pardon.
|
il y a 11 ans |
Jean-Yves Lamoureux
|
d058092983
|
* Physics
|
il y a 11 ans |
Sam Hocevar
|
f7dbc33524
|
build: update .vcxproj files.
|
il y a 11 ans |
Sam Hocevar
|
485b9335aa
|
test: emscripten compilation fix in the trigonometry benchmark.
|
il y a 11 ans |
Sam Hocevar
|
96e26a2bd5
|
math: rename Box2D to "box2" and add an integer version, "ibox2".
|
il y a 11 ans |
Benjamin ‘Touky’ Huet
|
167915fd2b
|
MeshViewer : stupid crashfix
|
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 11 ans |
Sam Hocevar
|
ddeaa5f81a
|
build: reorganise automake build system.
|
il y a 11 ans |
Sam Hocevar
|
e6b0bd07bf
|
image: hide the constructor behind a factory so that we can later
return an already created object if necessary.
|
il y a 11 ans |
Sam Hocevar
|
f16704ecb0
|
image: GetData returns uint8_t* instead of void*, it's a lot safer.
|
il y a 11 ans |
Sam Hocevar
|
5a19e1539d
|
misc: fix a few URLs.
|
il y a 11 ans |
Sam Hocevar
|
c59fc670c2
|
core: import pristine lua 5.2.1 in the engine code.
|
il y a 11 ans |
Sam Hocevar
|
33ab2042e7
|
test: disable a few non-essential and potentially incorrect unit tests.
|
il y a 11 ans |
Sam Hocevar
|
94acb0f519
|
build: the “fuck you, Apple” commit; work around three different
compiler bugs in the Xcode toolchain.
|
il y a 11 ans |
Sam Hocevar
|
affdedd835
|
test: more complete PRNG unit tests.
|
il y a 11 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 11 ans |
Sam Hocevar
|
9819425ba0
|
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
|
il y a 11 ans |
Sam Hocevar
|
8143b73ffb
|
math: add Box2d + vec2 operations for easy box translations.
|
il y a 11 ans |
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.
|
il y a 11 ans |
Sam Hocevar
|
fdc877cc29
|
math: fix an idiotic bug in the box-box intersection routine.
|
il y a 11 ans |
Sam Hocevar
|
7b30d99725
|
test: unit test for 2D boxes.
|
il y a 11 ans |
Sam Hocevar
|
74836555be
|
lolremez: minor refactor.
|
il y a 11 ans |
Sam Hocevar
|
29996cddec
|
build: fix btphystest.vcxproj.
|
il y a 11 ans |
Sam Hocevar
|
80e0d4c1c0
|
math: replace Interp with TimeInterp. We'll see how useful it gets.
|
il y a 11 ans |
Sam Hocevar
|
8b7482ae09
|
build: bad lolbot! fix the mess caused by its file renames.
|
il y a 11 ans |
Lolbot
|
ad2ddbb715
|
build: convert source files to lowercase.
|
il y a 11 ans |
Sam Hocevar
|
75a39b691e
|
test: add unit tests for maps using C strings as keys.
|
il y a 11 ans |
Benjamin ‘Touky’ Huet
|
96972cdc4d
|
easymesh : Bitfield big Fuckup. Never code drunk.
|
il y a 11 ans |