Add some comments
This commit is contained in:
parent
614741f6e8
commit
33daa484e9
3 changed files with 95 additions and 42 deletions
5
racing.h
5
racing.h
|
@ -730,7 +730,7 @@ void _LCR_drawPhysicsDebugPixel(uint16_t x, uint16_t y, uint8_t color)
|
|||
|
||||
for (int j = -1; j <= 2; ++j)
|
||||
for (int i = -1; i <= 2; ++i)
|
||||
LCR_drawPixelXYUnsafe(x + i,y + j,c);
|
||||
LCR_drawPixelXYUnsafe(x + i,y + j,c); // TODO: should be separated, make this independent of game module
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1209,6 +1209,9 @@ uint32_t LCR_racingStep(unsigned int input)
|
|||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
Draws a simple 3D debug overlap of the physics world.
|
||||
*/
|
||||
void LCR_physicsDebugDraw(LCR_GameUnit camPos[3], LCR_GameUnit camRot[2],
|
||||
LCR_GameUnit camFov)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue