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

Go to the source code of this file.

Namespaces

namespace  ARToolKitPlus
 

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


Defines

#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))

Define 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.



v4r_artoolkitplus
Author(s): Markus Bader
autogenerated on Wed Aug 26 2015 16:41:53