Sam Hocevar
d84605c105
Remove Xbox 360 support, too much stuff no longer compiles.
vor 9 Jahren
Sam Hocevar
078751a820
math: all API functions dealing with angles now use radians.
We already have the convenient degrees() and radians() functions to convert
between angle formats. This commit involves a lot of refactoring here and
there and I may have missed some places where conversions were needed. But
hopefully there aren’t may such places.
vor 9 Jahren
Sam Hocevar
103f60d48b
misc: replace NULL with nullptr in most places.
vor 9 Jahren
Sam Hocevar
19e52b4754
bullet: remove some ugly compilation warnings.
vor 9 Jahren
Sam Hocevar
38733fade7
math: move the matrix-to-quaternion code to a global header.
This lets us use the code for non-float variable types. I also got
rid of the mat4-to-quat code so that users are forced to use the
mat3-to-quat code and possibly discover places where their code is
suboptimal.
vor 9 Jahren
Benjamin ‘Touky’ Huet
6ab67e8f86
btPhysTest is working again, but it still has 7 Ticker::Unref(Shader) that should be there ......
vor 9 Jahren
Sam Hocevar
d64b117b8d
build: fix license and copyright information.
vor 9 Jahren
Sam Hocevar
70edc0d38e
misc: carry on with the lowercase rampage.
Using “Array” instead of “array” is now fully deprecated, and I replaced
the Log::Debug() etc. functions with msg::debug() etc. because log:: was
unavailable due to being a maths function.
Added up-to-date copyright notice and BOM to modified files, just in case.
vor 9 Jahren
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.
vor 9 Jahren
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
vor 9 Jahren
Benjamin ‘Touky’ Huet
2170b89b11
MultiScene: Phase 4: Added SceneDisplay class to have multiple windows + implementation with SDL. Not with the others.
vor 9 Jahren
Benjamin ‘Touky’ Huet
b0e0678468
Mesh: PrimitiveRenderer naming convention fixup
vor 9 Jahren
Benjamin ‘Touky’ Huet
22322d50fd
Scene::AddPrimitive now only supports Primitive because why not
vor 9 Jahren
Benjamin ‘Touky’ Huet
a7d6e0190e
Scene stuff is back to non-static logic with a few tricks
Scene rendering logic is now better
vor 9 Jahren
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.
vor 9 Jahren
Benjamin ‘Touky’ Huet
cfcff9acc3
MultiScene: Phase 1: g_scene removal and conversion to Scene::
vor 9 Jahren
Benjamin ‘Touky’ Huet
3ef2d6d31f
small MeshViewer tweak
vor 9 Jahren
Benjamin ‘Touky’ Huet
73f729d2ef
MeshViewer refactor is on good way
Reworked Primitive logic for scene rendering
FileUpdateTester works now .....
vor 9 Jahren
Sam Hocevar
d33c31279e
Fully move meshviewer to its own subdirectory to avoid build errors.
vor 9 Jahren
Benjamin ‘Touky’ Huet
825401d997
Brought threads to C++11
Revamped thread communication
Fixed dynamic thread Add/Remove
Added unit-test for threads !!!!
vor 9 Jahren
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
vor 9 Jahren
Benjamin ‘Touky’ Huet
921b6d82f5
BuildFIX and meshViewer tweak
vor 9 Jahren
Benjamin ‘Touky’ Huet
44bc2f4d3d
Added the long forgotten meshviewer.h
vor 9 Jahren
Benjamin ‘Touky’ Huet
9acf2e925b
lol Buildfix
vor 9 Jahren
Benjamin ‘Touky’ Huet
3f167f2f1d
ImGui 1.37
MeshViewer first pass
vor 9 Jahren
Benjamin ‘Touky’ Huet
3aac6cb2f2
Reorganizing MeshViewer
vor 9 Jahren
Benjamin ‘Touky’ Huet
3e9e6178ae
Small refactor controller tweak
vor 9 Jahren
Sam Hocevar
8682025a10
build: remove deprecated stuff and fix a few Linux build issues.
vor 9 Jahren
Lolbot
4a7d0ca2c5
fixed 36 files out of 4318:
- removed 18805 CR characters
- removed 774 trailing whitespaces
- replaced 1922 tabs with spaces
- fixed 31 svn:eol-style properties
vor 9 Jahren
Benjamin ‘Touky’ Huet
9477f1f722
Moved GetKey/Axis status tests to protected, and made them accessible through controller directly to implement layer system in the future.
vor 9 Jahren
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
vor 9 Jahren
Benjamin ‘Touky’ Huet
4d3d7de4f2
Name refactors for doc stuff
vor 9 Jahren
Benjamin ‘Touky’ Huet
6c3dd67bc0
Controller refactor to enforce InputProfile usage (because why not)
DefaultThreadManager build FIX
vor 9 Jahren
Benjamin ‘Touky’ Huet
9c07e8c2e0
Added Thread classes
Added InputProfile in Controller
Added ExecLuaCode
vor 9 Jahren
Benjamin ‘Touky’ Huet
a8c3a80eb1
Add color var in lua
Add SafeEnum var in lua
MeshViewer SceneSetup is operational
Added imGui to vs-solution, not implemented yet
vor 9 Jahren
Benjamin ‘Touky’ Huet
f67da65818
First pass of EasyMesh split & refactor
Big FAT pass on windows-warning. It is better now.
vor 9 Jahren
Sam Hocevar
26c394053e
math: implement Karatsuba algorithm for large bigint multiplications.
vor 10 Jahren
Sam Hocevar
d72cb24bc0
build: move sample and tutorial files around.
vor 10 Jahren