TGX 1.0.8
A tiny 2D/3D graphics library optimized for 32 bits microcontrollers.
Loading...
Searching...
No Matches
tgx_config.h File Reference

Configuration file depending on the architecture. More...

Go to the source code of this file.

Macros

#define TGX_USE_FAST_INV_TRICK   1
 Enable the fast approximate inverse trick on architectures where it is beneficial. More...
 
#define TGX_SINGLE_PRECISION_COMPUTATIONS   1
 Set to 1 to use float as the default floating point type, or to 0 to use double precision.
 
#define TGX_DEFAULT_NO_BLENDING   -1.0f
 Default opacity sentinel used by drawing primitives to request overwrite/no-blending mode.
 

Detailed Description

Configuration file depending on the architecture.

Macro Definition Documentation

◆ TGX_USE_FAST_INV_TRICK

#define TGX_USE_FAST_INV_TRICK   1

Enable the fast approximate inverse trick on architectures where it is beneficial.

This is selected automatically from the target board/architecture below.