root/trunk/orca/win32/os_math.h

Revision 1, 0.5 kB (checked in by krobillard, 3 years ago)

Import orca & thune.

Line 
1
2#include <math.h>
3
4
5/* double trigFunc( double ) */
6
7#define mathSine        sin
8#define mathCosine      cos
9#define mathTan         tan
10#define mathASine       asin
11#define mathACosine     acos
12#define mathATan        atan
13#define mathSqrt        sqrt
14
15/* float trigFunc( float ) */
16
17#define mathSineF(n)    (float) sin((double)(n))
18#define mathCosineF(n)  (float) cos((double)(n))
19#define mathSqrtF(n)    (float) sqrt((double)(n))
20
21/* double mathMod( double, double ) */
22
23#define mathMod         fmod
24
25
26extern unsigned long randomSeed();
Note: See TracBrowser for help on using the browser.