Blender V5.3
BLI_math_time.hh File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

Time Constants Definitions
#define SECONDS_IN_MILLISECONDS   0.001
#define SECONDS_IN_MINUTE   60.0
#define MINUTES_IN_HOUR   60.0
#define HOURS_IN_DAY   24.0
#define MINUTES_IN_DAY   (MINUTES_IN_HOUR * HOURS_IN_DAY)
#define SECONDS_IN_DAY   (MINUTES_IN_DAY * SECONDS_IN_MINUTE)
#define SECONDS_IN_HOUR   (MINUTES_IN_HOUR * SECONDS_IN_MINUTE)

Functions

Time API
void blender::BLI_math_time_seconds_decompose (double seconds, double *r_days, double *r_hours, double *r_minutes, double *r_seconds, double *r_milliseconds)

Macro Definition Documentation

◆ HOURS_IN_DAY

#define HOURS_IN_DAY   24.0

Definition at line 20 of file BLI_math_time.hh.

◆ MINUTES_IN_DAY

#define MINUTES_IN_DAY   (MINUTES_IN_HOUR * HOURS_IN_DAY)

Definition at line 22 of file BLI_math_time.hh.

◆ MINUTES_IN_HOUR

#define MINUTES_IN_HOUR   60.0

Definition at line 19 of file BLI_math_time.hh.

◆ SECONDS_IN_DAY

#define SECONDS_IN_DAY   (MINUTES_IN_DAY * SECONDS_IN_MINUTE)

Definition at line 23 of file BLI_math_time.hh.

Referenced by blender::BLI_math_time_seconds_decompose(), and blender::TEST().

◆ SECONDS_IN_HOUR

#define SECONDS_IN_HOUR   (MINUTES_IN_HOUR * SECONDS_IN_MINUTE)

Definition at line 24 of file BLI_math_time.hh.

Referenced by blender::BLI_math_time_seconds_decompose(), and blender::TEST().

◆ SECONDS_IN_MILLISECONDS

#define SECONDS_IN_MILLISECONDS   0.001

Definition at line 17 of file BLI_math_time.hh.

Referenced by blender::BLI_math_time_seconds_decompose(), and blender::TEST().

◆ SECONDS_IN_MINUTE

#define SECONDS_IN_MINUTE   60.0

Definition at line 18 of file BLI_math_time.hh.

Referenced by blender::BLI_math_time_seconds_decompose(), and blender::TEST().