|
- //
- // Lol Engine
- //
- // Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
- // This program is free software; you can redistribute it and/or
- // modify it under the terms of the Do What The Fuck You Want To
- // Public License, Version 2, as published by Sam Hocevar. See
- // http://sam.zoy.org/projects/COPYING.WTFPL for more details.
- //
-
- //
- // Trigonometry functions
- // ----------------------
- //
-
- #if !defined __LOL_TRIG_H__
- #define __LOL_TRIG_H__
-
- #include <cstdio>
- #include <stdint.h>
-
- namespace lol
- {
-
- double lol_sin(double);
- double lol_cos(double);
- double lol_tan(double);
- void lol_sincos(double, double*, double*);
- void lol_sincos(float, float*, float*);
- double lol_asin(double);
- double lol_acos(double);
- double lol_atan(double);
- double lol_atan2(double, double);
-
- } /* namespace lol */
-
- #endif // __LOL_TRIG_H__
|