forked from lucianoforks/falling-block-puzzle-game-os
24 lines
288 B
C
24 lines
288 B
C
#ifndef MATH_H
|
|
#define MATH_H
|
|
|
|
#include "util.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define E 2.71828
|
|
#define PI 3.14159265358979323846264338327950
|
|
|
|
f64 fmod(f64 x, f64 m);
|
|
f64 fabs(f64 x);
|
|
f64 sin(f64 x);
|
|
f64 cos(f64 x);
|
|
f64 pow(f64 x, f64 y);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|