Clean a little
This commit is contained in:
parent
302bac10e6
commit
402867e73b
3 changed files with 64 additions and 62 deletions
10
racing.h
10
racing.h
|
@ -809,7 +809,7 @@ int _LCR_racingCarShapeOK(void)
|
|||
*/
|
||||
uint32_t LCR_racingStep(unsigned int input)
|
||||
{
|
||||
LCR_LOG2("racing step start");
|
||||
LCR_LOG2("racing step (start)");
|
||||
|
||||
uint32_t result = 0;
|
||||
TPE_Vec3 carForw, carRight, carUp, carVel;
|
||||
|
@ -1043,9 +1043,9 @@ uint32_t LCR_racingStep(unsigned int input)
|
|||
LCR_racing.fanForce = 0;
|
||||
}
|
||||
|
||||
LCR_LOG2("gonna step physics engine");
|
||||
LCR_LOG2("stepping physics (start)");
|
||||
TPE_worldStep(&(LCR_racing.physicsWorld));
|
||||
LCR_LOG2("stepping physics engine done");
|
||||
LCR_LOG2("stepping physics (end)");
|
||||
|
||||
int speedDiff =
|
||||
TPE_abs(LCR_racing.carSpeeds[0]) -
|
||||
|
@ -1204,7 +1204,7 @@ uint32_t LCR_racingStep(unsigned int input)
|
|||
|
||||
LCR_racing.tick += LCR_racing.tick < 0xffffffff; // disallow overflow
|
||||
|
||||
LCR_LOG2("racing step end");
|
||||
LCR_LOG2("racing step (end)");
|
||||
|
||||
return result;
|
||||
}
|
||||
|
@ -1213,7 +1213,7 @@ void LCR_physicsDebugDraw(LCR_GameUnit camPos[3], LCR_GameUnit camRot[2],
|
|||
LCR_GameUnit camFov)
|
||||
{
|
||||
#if LCR_SETTING_DEBUG_PHYSICS_DRAW
|
||||
LCR_LOG2("drawing physics debug overlay");
|
||||
LCR_LOG2("drawing physics debug");
|
||||
|
||||
TPE_Vec3 cPos, cRot, cView;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue