Sam Hocevar
03c17fcae4
base: clean up and refactor containers.
The containers no longer force the user to use the ptrdiff_t type for
size information. For convenience, size() now always returns an int,
and the size_s() method offers a way to handle arrays with more than
2 billion elements. Internally, we still use ptrdiff_t, though.
Since so much code had to be changed, I took the opportunity to get
rid of capitalised accessors for classes that are lowercase.
9 yıl önce
Benjamin ‘Touky’ Huet
7605caace4
MultiScene: Phase 4: Rendering is fixed.
Though it still is not possible to create a new window from a thread that did not init SDL
9 yıl önce
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
9 yıl önce
Benjamin ‘Touky’ Huet
b0e0678468
Mesh: PrimitiveRenderer naming convention fixup
9 yıl önce
Benjamin ‘Touky’ Huet
22322d50fd
Scene::AddPrimitive now only supports Primitive because why not
9 yıl önce
Benjamin ‘Touky’ Huet
a7d6e0190e
Scene stuff is back to non-static logic with a few tricks
Scene rendering logic is now better
9 yıl önce
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.
9 yıl önce
Benjamin ‘Touky’ Huet
cfcff9acc3
MultiScene: Phase 1: g_scene removal and conversion to Scene::
9 yıl önce
Benjamin ‘Touky’ Huet
3ef2d6d31f
small MeshViewer tweak
9 yıl önce
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
9 yıl önce
Sam Hocevar
d33c31279e
Fully move meshviewer to its own subdirectory to avoid build errors.
9 yıl önce
Benjamin ‘Touky’ Huet
825401d997
Brought threads to C++11
Revamped thread communication
Fixed dynamic thread Add/Remove
Added unit-test for threads !!!!
9 yıl önce
Lolbot
3797ac1179
fixed 3 files out of 4212:
- removed 177 CR characters
- removed 12 trailing whitespaces
- replaced 0 tabs with spaces
- fixed 1 svn:eol-style properties
9 yıl önce
Benjamin ‘Touky’ Huet
921b6d82f5
BuildFIX and meshViewer tweak
9 yıl önce
Benjamin ‘Touky’ Huet
44bc2f4d3d
Added the long forgotten meshviewer.h
9 yıl önce
Benjamin ‘Touky’ Huet
9acf2e925b
lol Buildfix
9 yıl önce
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
9 yıl önce
Benjamin ‘Touky’ Huet
3aac6cb2f2
Reorganizing MeshViewer
9 yıl önce