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.

23 line
389 B

#ifndef __EMATH_H
#define __EMATH_H
#include <iostream>
#include <cmath>
#include <SDL_opengl.h>
namespace segl {
float deg2rad(float deg);
float rad2deg(float rad);
// *grml* scheiss cmath-sinus
// diese beiden sinusfunktionenrechnen erst deg2rad
// wenn es sich nicht um 0, 90, 180, 270 oder ein vielfaches handelt
float ssin(float);
float scos(float);
} // namespace segl
#endif