A 3d fps game made in OpenGL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Symmetry/src/common/utils.h

15 lines
292 B

#ifndef UTILS_H
#define UTILS_H
#include "linmath.h"
const char* tostr_vec3(vec3* v);
const char* tostr_vec4(vec4* v);
const char* tostr_quat(quat* q);
// Math related functions
//int min(int a, int b);
//int max(int a, int b);
int clamp(int num, int min, int max);
#endif