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 година
Sam Hocevar
d72cb24bc0
build: move sample and tutorial files around.
пре 10 година
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
пре 10 година
Sam Hocevar
cadc4d18b0
test: move the unit tests to the engine, and lolunit out of the engine.
пре 10 година
Sam Hocevar
4f28047fc4
math: refactor more shit, I have no idea what I’m doing.
пре 10 година
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[].
пре 10 година
Sam Hocevar
b45c1dc7fe
physics: always activate Bullet and remove dead code.
пре 11 година
Benjamin ‘Touky’ Huet
a03c38872d
btPhysTest : Added a new test mode called "CAT_MODE". Try it out at your own risks.
пре 11 година
Sam Hocevar
8b7482ae09
build: bad lolbot! fix the mess caused by its file renames.
пре 11 година
Lolbot
ad2ddbb715
build: convert source files to lowercase.
пре 11 година
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
пре 12 година
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
пре 12 година
Lolbot
23807ea88e
fixed 23 files out of 277:
- fixed 1270 CR characters
- fixed 56 trailing spaces
- fixed 5085 tabs
пре 12 година
Benjamin ‘Touky’ Huet
5d10ec177c
Small physic refactor.
пре 12 година
Benjamin ‘Touky’ Huet
11ddba1864
Added Attachment/base logic with working attachment with EasyCharacterController.
Added RayCastResult & a naïve integration for EasyCharacterController.
Enjoy !
пре 12 година
Benjamin ‘Touky’ Huet
7334bb2ec1
Added Base/Attachment Logic, works with Kinematic & Ghost.
пре 12 година
Benjamin ‘Touky’ Huet
e314c12ebe
Seems like default values in constructor generates Warning on Chrome.
пре 12 година
Benjamin ‘Touky’ Huet
075be12a77
Added a skeleton for Input Tracking & base idea for Touch/untouch mechanics.
пре 12 година
Benjamin ‘Touky’ Huet
735d3dace5
Reverted last CL
пре 12 година
Benjamin ‘Touky’ Huet
50c2855d89
Small .h & .cpp refactor
пре 12 година
Benjamin ‘Touky’ Huet
ca94a77974
BtPhysTest : Splitted Physics files
пре 12 година
Benjamin ‘Touky’ Huet
fd6da1f6d9
CIS MASS DESTRUCTION !
Indeed
пре 12 година
Benjamin ‘Touky’ Huet
e8d2d8c202
So Character Controller works with a lazy camera logic.
пре 12 година
Benjamin ‘Touky’ Huet
1ca08dd0d7
LocalInertia error FIX.
Character integration better but still not working.
пре 12 година
jeunathe
4f06ca1307
added return
пре 12 година
Benjamin ‘Touky’ Huet
4b358e6042
Skeleton for EasyCharacterController
пре 12 година
Benjamin ‘Touky’ Huet
f514756a2d
Lazy WE :
Small tweaks in the BtPhysTest demo.
Added Ghost Object skeleton (not tested)
пре 12 година
Benjamin ‘Touky’ Huet
4a31a63b77
Correct integration of EasyConstraint + TestDemo.
пре 12 година
Benjamin ‘Touky’ Huet
38f0fd5fc3
Small name refactor & correct Kinematic integration.
+ Constraint hollow class.
пре 12 година
Benjamin ‘Touky’ Huet
d642c90e6f
Added Collision group & mask support.
+ weird racist test : the primitives only collide with their same type.
пре 12 година
Benjamin ‘Touky’ Huet
a93067b19a
Small refactor of the Phys::Simulation.
Phys::Simulation is now an entity.
Phys::Simulation now implements timesteps correctly.
пре 12 година
Sam Hocevar
a492530c60
test: fix an alignment issue with btVector3/vec3 casts.
пре 12 година
Benjamin ‘Touky’ Huet
ebbed2988a
BtPhysTest : Container box now moves.
пре 12 година
Benjamin ‘Touky’ Huet
e82c65aa18
Added walls and better context to the physics.
пре 12 година
Benjamin ‘Touky’ Huet
444ed1df81
EasyPhysics : Added Capsules.
пре 12 година
Benjamin ‘Touky’ Huet
cd46cef099
Added Cylinder primitives.
Added several delete/destructor, speeds up exit & saves memory.
пре 12 година
Benjamin ‘Touky’ Huet
0ea021a40a
EasyMesh : Fixed normals on disc when one of the radius == 0
EasyPhysics : Added Cone primitive.
пре 12 година
Benjamin ‘Touky’ Huet
9c5364c734
Added sphere in EasyPhysics
пре 12 година
Benjamin ‘Touky’ Huet
b37dfcabf8
CIS FIX
пре 12 година
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.
пре 12 година