Fix Screen::ScreenShot
[ipdf/code.git] / src / real.h
1 #ifndef _REAL_H
2 #define _REAL_H
3
4 #include "common.h"
5
6 namespace IPDF
7 {
8
9 #define REAL_SINGLE
10 //#define REAL_DOUBLE
11 //#define REAL_HALF
12
13 #ifdef REAL_SINGLE
14         typedef float Real;
15         inline float Float(Real r) {return r;}
16 #elif defined REAL_DOUBLE
17         typedef double Real;
18         inline double Float(Real r) {return r;}
19 #endif
20 }
21
22 #endif //_REAL_H

UCC git Repository :: git.ucc.asn.au