Namespaces | Macros
FixedPoint.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ARToolKitPlus
 This file should only be compiled when using ARToolKitPlus as a DLL.
 

Macros

#define FIXED_Fixed_n_To_Float(x, n)   ((float)x / (float)(1 << n))
 
#define FIXED_Float_To_Fixed_n(x, n)   ((I32)(x * (float)(1 << n) + 0.5f))
 

Macro Definition Documentation

#define FIXED_Fixed_n_To_Float (   x,
 
)    ((float)x / (float)(1 << n))

Definition at line 49 of file FixedPoint.h.

#define FIXED_Float_To_Fixed_n (   x,
 
)    ((I32)(x * (float)(1 << n) + 0.5f))

Definition at line 48 of file FixedPoint.h.



tuw_artoolkitplus
Author(s): Markus Bader
autogenerated on Sun Sep 4 2016 03:24:33