blender/source/gameengine/Physics
Sybren A. Stüvel 7165db53f2 Cleanup of BGE code CcdPhysicsEnvironment::CallbackTriggers()
Refactored some code to be easier to read. Semantically the code is
identical.

  - Some conditions were negated to be able to return/continue early,
    rather than having the majority of the code inside an if-body.
  - Conditions were simplified (!(a == b)) turned into (a != b);
    repeated conditions calculated only once.
  - Unnecessary variables and one unnecessary condition were
    eliminated.

Reviewers: campbellbarton, lordloki

Reviewed By: lordloki

Projects: #game_physics

Differential Revision: https://developer.blender.org/D954
2015-01-21 18:43:05 +01:00
..
Bullet Cleanup of BGE code CcdPhysicsEnvironment::CallbackTriggers() 2015-01-21 18:43:05 +01:00
common BGE physics: get/set linear and angular damping 2015-01-15 18:37:22 +01:00
Dummy BGE debug API and actuator 2014-07-11 16:00:14 -07:00