|
diff --git a/main.c b/main.c
|
| ... |
| 215 |
double runtime = GetTime(); |
215 |
double runtime = GetTime(); |
| 216 |
int height = GetScreenHeight(); |
216 |
int height = GetScreenHeight(); |
| 217 |
|
217 |
|
| 218 |
DrawRectangle(10, GetScreenHeight() - 90, 160, 80, DARKBLUE); |
218 |
DrawRectangle(10, height - 75, 150, 65, DARKBLUE); |
| 219 |
DrawTextEx(ctx.font, TextFormat("fps: %d", fps), (Vector2){ 20, height - 80 }, 20, 0, RAYWHITE); |
219 |
DrawTextEx(ctx.font, TextFormat("fps: %d", fps), (Vector2){ 15, height - 70 }, 16, 0, RAYWHITE); |
| 220 |
DrawTextEx(ctx.font, TextFormat("run: %.4f", runtime), (Vector2){ 20, height - 60 }, 20, 0, RAYWHITE); |
220 |
DrawTextEx(ctx.font, TextFormat("run: %.4f", runtime), (Vector2){ 15, height - 50 }, 16, 0, RAYWHITE); |
| 221 |
DrawTextEx(ctx.font, TextFormat("dt: %.4f", delta), (Vector2){ 20, height - 40 }, 20, 0, RAYWHITE); |
221 |
DrawTextEx(ctx.font, TextFormat("dt: %.4f", delta), (Vector2){ 15, height - 30 }, 16, 0, RAYWHITE); |
| 222 |
|
222 |
|
| 223 |
return 0; |
223 |
return 0; |
| 224 |
} |
224 |
} |
| ... |