Constants include header. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DELTA_TIME   (double)APPROX_TIME_PER_FRAME / (double)TIME_FACTOR
 Delta time calculation formula. More...
 

Typedefs

typedef enum Alignment_t Alignment
 Alignment constants type.
 
typedef enum Direction_t Direction
 Directional constants type.
 
typedef enum TimeConstant_t TimeConstant
 Time constants type.
 

Enumerations

enum  Alignment_t { BOTTOM = 0, TOP = 1 }
 Alignment constants enumeration.
 
enum  Direction_t { RIGHT = 0, LEFT = 1 }
 Directional constants enumeration.
 
enum  TimeConstant_t { APPROX_TIME_PER_FRAME = 17, TIME_FACTOR = 1000 }
 Time constants enumeration.
 

Detailed Description

Constants include header.

Macro Definition Documentation

◆ DELTA_TIME

#define DELTA_TIME   (double)APPROX_TIME_PER_FRAME / (double)TIME_FACTOR

Delta time calculation formula.

Calculates the delta-time by dividing the approximate time per frame by a time factor