Organized files

This commit is contained in:
2022-01-19 22:43:21 +00:00
parent 3dcaf6df81
commit a7378e1d17
248 changed files with 539445 additions and 264 deletions

16
source/engine/debugdraw.h Normal file
View File

@@ -0,0 +1,16 @@
#ifndef DEBUGDRAW_H
#define DEBUGDRAW_H
void debugdraw_init();
void draw_line(int x1, int y1, int x2, int y2);
void draw_edge(float *points, int n);
void draw_circle(int x, int y, float radius, int pixels);
void draw_grid(int width, int span);
void draw_rect(int x, int y, int w, int h);
void draw_point(int x, int y, float r);
void draw_poly(float *points, int n);
void debugdraw_flush(); /* This is called once per frame to draw all queued elements */
#endif