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.
pirms 9 gadiem
Sam Hocevar
d72cb24bc0
build: move sample and tutorial files around.
pirms 10 gadiem
Sam Hocevar
d373081b80
build: use #pragma once instead of header guards because 1) fuck the dinosaurs,
and 2) fuck the Visual Studio compiler that crashes when confused.
pirms 10 gadiem
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
pirms 10 gadiem
Sam Hocevar
cadc4d18b0
test: move the unit tests to the engine, and lolunit out of the engine.
pirms 10 gadiem
Sam Hocevar
7a28671dee
math: get rid of the base_vec* classes (thanks to relaxed unions), rename
MASK to SWIZZLE in the vector templates, rename matrix<> to mat<> for
consistency, implement transposition for all matrix sizes, make matrix
columns private and only accessible through operator[].
pirms 10 gadiem
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
pirms 10 gadiem
Sam Hocevar
b45c1dc7fe
physics: always activate Bullet and remove dead code.
pirms 11 gadiem
Lolbot
ad2ddbb715
build: convert source files to lowercase.
pirms 11 gadiem
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
pirms 12 gadiem
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
pirms 12 gadiem
Lolbot
23807ea88e
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
pirms 12 gadiem
Benjamin ‘Touky’ Huet
5d10ec177c
Small physic refactor.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
735d3dace5
Reverted last CL
pirms 12 gadiem
Benjamin ‘Touky’ Huet
50c2855d89
Small .h & .cpp refactor
pirms 12 gadiem
Benjamin ‘Touky’ Huet
ca94a77974
BtPhysTest : Splitted Physics files
pirms 12 gadiem
Benjamin ‘Touky’ Huet
fd6da1f6d9
CIS MASS DESTRUCTION !
Indeed
pirms 12 gadiem
Benjamin ‘Touky’ Huet
a2b454d4c4
CIS
pirms 12 gadiem
Benjamin ‘Touky’ Huet
e8d2d8c202
So Character Controller works with a lazy camera logic.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
1ca08dd0d7
LocalInertia error FIX.
Character integration better but still not working.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
4b358e6042
Skeleton for EasyCharacterController
pirms 12 gadiem
Benjamin ‘Touky’ Huet
f514756a2d
Lazy WE :
Small tweaks in the BtPhysTest demo.
Added Ghost Object skeleton (not tested)
pirms 12 gadiem
Benjamin ‘Touky’ Huet
4a31a63b77
Correct integration of EasyConstraint + TestDemo.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
38f0fd5fc3
Small name refactor & correct Kinematic integration.
+ Constraint hollow class.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
d642c90e6f
Added Collision group & mask support.
+ weird racist test : the primitives only collide with their same type.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
e82c65aa18
Added walls and better context to the physics.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
444ed1df81
EasyPhysics : Added Capsules.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
cd46cef099
Added Cylinder primitives.
Added several delete/destructor, speeds up exit & saves memory.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
0ea021a40a
EasyMesh : Fixed normals on disc when one of the radius == 0
EasyPhysics : Added Cone primitive.
pirms 12 gadiem
Benjamin ‘Touky’ Huet
9c5364c734
Added sphere in EasyPhysics
pirms 12 gadiem
Benjamin ‘Touky’ Huet
6cb8bb99ca
Behold the power of LolPhysics !
Added lol::phys::Simulation, lol::phys::EasyPhysics for easy physic uses.
Added PhysicsObject, wich hold EasyMesh & EasyPhysics components so it is easy to use. Easy seems to be the consensus.
BtPhysTest now works with new physics classes.
Known problem for this commit:
Physics is not properly setup.
There might be memory leaks, I don't think I've parsed all new/delete.
A LOT of primitives are not taken into account.
pirms 12 gadiem