Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2015-01-21 20:42:24 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2015-01-21 20:43:05 +0300
commit7165db53f2663b78749019ff791816c36e6182e6 (patch)
treef448b301404485d15773ae59ad88c31887cfc4bc /source/gameengine/Physics/Dummy
parent684942c2feb60a5b2c73cd588ca6367699e4b5e3 (diff)
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
Diffstat (limited to 'source/gameengine/Physics/Dummy')
0 files changed, 0 insertions, 0 deletions