Fix some camera bugs
This commit is contained in:
parent
b6d28c2886
commit
ffbe827f22
2 changed files with 42 additions and 7 deletions
5
game.h
5
game.h
|
@ -170,9 +170,14 @@ uint8_t LCR_gameStep(uint32_t time)
|
|||
LCR_keyStates[i] = LCR_keyPressed(i) ?
|
||||
(LCR_keyStates[i] < 255 ? LCR_keyStates[i] + 1 : 255) : 0;
|
||||
|
||||
//S3L_logTransform3D(LCR_renderer.scene.camera.transform);
|
||||
|
||||
if ((LCR_racing.tick % 32) == 0)
|
||||
{
|
||||
printf("speed: %d\n",LCR_racingGetCarSpeed());
|
||||
|
||||
}
|
||||
|
||||
uint32_t sleep = 0;
|
||||
|
||||
if (LCR_keyStates[LCR_KEY_B] == 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue