NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches
Constants

Global configuration constants for the library. More...

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.

Macro Definition Documentation

◆ NNL_ALPHA_OPAQ

#define NNL_ALPHA_OPAQ   (250)

Alpha values >= the threshold are considered fully opaque.

◆ NNL_ALPHA_OPAQ_F

#define NNL_ALPHA_OPAQ_F   (0.98f)

Alpha values >= the threshold are considered fully opaque.

◆ NNL_ALPHA_TRANSP

#define NNL_ALPHA_TRANSP   (5)

Alpha values <= the threshold are considered fully transparent.

◆ NNL_ALPHA_TRANSP_F

#define NNL_ALPHA_TRANSP_F   (0.02f)

Alpha values <= the threshold are considered fully transparent.

◆ NNL_EPSILON

#define NNL_EPSILON   (1.0e-5f)

Default floating-point comparison epsilon.

◆ NNL_EPSILON2

#define NNL_EPSILON2   ((NNL_EPSILON) * (NNL_EPSILON))

Default squared epsilon.

See also
NNL_EPSILON