Kevin Jerebica
a176afab7e
source code was taken from my project gravity and modified so I can reuse the renderer in other projects. I will also upgrade it, free it from old bugs, put more effort into learning the math behind rendering, etc.
11 lines
184 B
C
11 lines
184 B
C
#ifndef MATH_H
|
|
#define MATH_H
|
|
|
|
#include "object.h"
|
|
#include <cglm/cglm.h>
|
|
|
|
float frand48(void);
|
|
void calculate_gravity(struct object *src, struct object *target, vec3 force);
|
|
|
|
#endif
|