NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches
constant.hpp File Reference

Global configuration constants for the library. More...

Go to the source code of this file.

Macros

#define NNL_ALPHA_TRANSP   (5)
 Alpha values <= the threshold are considered fully transparent.
#define NNL_ALPHA_OPAQ   (250)
 Alpha values >= the threshold are considered fully opaque.
#define NNL_ALPHA_TRANSP_F   (0.02f)
 Alpha values <= the threshold are considered fully transparent.
#define NNL_ALPHA_OPAQ_F   (0.98f)
 Alpha values >= the threshold are considered fully opaque.
#define NNL_EPSILON   (1.0e-5f)
 Default floating-point comparison epsilon.
#define NNL_EPSILON2   ((NNL_EPSILON) * (NNL_EPSILON))
 Default squared epsilon.

Detailed Description

Global configuration constants for the library.