rm test param

This commit is contained in:
nemo 2024-09-30 14:43:39 +02:00
parent bbb631f633
commit db592bdb70
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ void bullet_spawn(BulletType type, Vector2 pos, float angle)
}
}
void draw_bullets(Camera2D *cam)
void draw_bullets()
{
for (int i = 0; i < BULLET_MAX; i++) {
if (bullets[i].time <= EPSILON)

View File

@ -10,6 +10,6 @@ void bullet_load();
void bullet_spawn(BulletType type, Vector2 pos, float angle);
void draw_bullets(Camera2D *cam);
void draw_bullets();
#endif // BULLET_H

2
main.c
View File

@ -111,7 +111,7 @@ int main(void)
BeginMode2D(effect_camera);
{
DrawTexture(map.texture, map.box.x, map.box.y, WHITE);
draw_bullets(&camera);
draw_bullets();
}
EndMode2D();
draw_ninja(Vector2Add(SCREEN_MIDDLE, cam_shake), &camera);