Blender Git Loki

Git Commits -> Revision c7e222c

Revision c7e222c by Bastien Montagne (experimental-build)
June 11, 2021, 11:00 (GMT)
Add initial `BLI_math_time` with a 'seconds explode' function.

Allows to explode a given amount of seconds into a random set of
days/hours/minutes/seconds/milliseconds.

Also add matching test.

Commit Details:

Full Hash: c7e222c5ee5df7dd518d9c1b5d60c2bd70db2d64
Parent Commit: f595b5a
Lines Changed: +177, -0

3 Added Paths:

/source/blender/blenlib/BLI_math_time.h (+64, -0) (View)
/source/blender/blenlib/intern/math_time_inline.c (+74, -0) (View)
/source/blender/blenlib/tests/BLI_math_time_test.cc (+35, -0) (View)

2 Modified Paths:

/source/blender/blenlib/BLI_math.h (+1, -0) (Diff)
/source/blender/blenlib/CMakeLists.txt (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021