Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
10 年前
Benjamin ‘Touky’ Huet
a7d6e0190e
Scene stuff is back to non-static logic with a few tricks
Scene rendering logic is now better
10 年前
Sam Hocevar
2fa398926d
math: improve the 2D and 3D box classes.
Box objects (AABB) now have the long awaited extent() and center()
methods. Corners are now called “aa” and “bb” for convenience. The
WorldEntity class uses a box3 for its AABB instead of two vec3s.
This allows us to simplify a lot of verbose code.
10 年前
Benjamin ‘Touky’ Huet
cfcff9acc3
MultiScene: Phase 1: g_scene removal and conversion to Scene::
10 年前
Sam Hocevar
40fe753e4f
image: remove "color" typedef since we already have the "Color" class, and rename a few things.
10 年前
Sam Hocevar
7e04bd038a
scene: remove functions that aren’t that useful.
11 年前
Benjamin ‘Touky’ Huet
a89dac5c30
Fixed some stuff and added some small tweaks
11 年前
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
11 年前
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
11 年前
Benjamin ‘Touky’ Huet
fd4cb5e350
Added debug stuff
11 年前
Benjamin ‘Touky’ Huet
dbb1d02aa6
Added 2D to 3D DebugLines
11 年前
Benjamin ‘Touky’ Huet
d3b6bb6dce
workbench update
11 年前
Benjamin ‘Touky’ Huet
cc8e6ced51
Added Debug DrawBox+DrawCapsule+DrawCircle+DrawSphere for ze lulz
11 年前
Sam Hocevar
8ede168e62
color: add some vec4 constants for usual colour names.
11 年前
Benjamin ‘Touky’ Huet
b1fbc0259f
Added Mask & StickyTime to Draw Debug
11 年前
Benjamin ‘Touky’ Huet
a9972696e6
Tweaked stuff in the AABBTree element storage.
Added RemoveElement
11 年前
Benjamin ‘Touky’ Huet
7c9f96e426
Added Debug::DrawViewProj
12 年前
Sam Hocevar
ad8144f0e8
scene: use a global g_scene object instead of Scene::GetDefault().
12 年前
Sam Hocevar
b29519602a
debug: fewer lines of code in DrawBox().
13 年前
Sam Hocevar
872efdb880
debug: add Debug::DrawLine() and Debug::DrawBox() methods.
13 年前