comparison utils.h @ 7:f159eec07daf

refactor
author Dennis C. M. <dennis@denniscm.com>
date Fri, 23 Jun 2023 10:01:37 +0100
parents 40a8bdbe2005
children
comparison
equal deleted inserted replaced
6:40a8bdbe2005 7:f159eec07daf
1 #ifndef UTILS_H 1 #ifndef UTILS_H
2 #define UTILS_H 2 #define UTILS_H
3 3
4 4
5 #include <GL/glut.h> 5 #include <math.h>
6 #include <stdlib.h>
6 7
7 void render_text(const char *text, float x, float y); 8
8 int random_int(int min, int max); 9 int random_int(int min, int max);
9 void draw_rectangle(int x_position, int rect_height, int rect_width, int window_height);
10 10
11 11
12 #endif 12 #endif