Mercurial > public > algo-animator
view utils.h @ 6:40a8bdbe2005
Refactor to array of structures
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Tue, 13 Jun 2023 18:37:23 +0100 |
parents | 6be2faa7ed6e |
children | f159eec07daf |
line wrap: on
line source
#ifndef UTILS_H #define UTILS_H #include <GL/glut.h> void render_text(const char *text, float x, float y); int random_int(int min, int max); void draw_rectangle(int x_position, int rect_height, int rect_width, int window_height); #endif