diff options
author | Bastien Montagne <bastien@blender.org> | 2021-06-22 18:00:18 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-06-22 18:00:18 +0300 |
commit | feaf309de742a92e158cd123b3a584915de0ac4d (patch) | |
tree | a856c8f5522de1f1c5c59be8f887135fdb65fe39 /source/blender/blenlib/BLI_math.h | |
parent | f4e3b1e5732ca8413a47dfdb93ae1227bb14f9dc (diff) |
Add initial `BLI_math_time` with a 'seconds decompose' function.
Allows to decompose a given amount of seconds into a random set of
days/hours/minutes/seconds/milliseconds values.
Also add matching test.
Differential Revision: https://developer.blender.org/D11581
Diffstat (limited to 'source/blender/blenlib/BLI_math.h')
-rw-r--r-- | source/blender/blenlib/BLI_math.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math.h b/source/blender/blenlib/BLI_math.h index f6075367ac5..3b61c0feb51 100644 --- a/source/blender/blenlib/BLI_math.h +++ b/source/blender/blenlib/BLI_math.h @@ -70,4 +70,5 @@ #include "BLI_math_rotation.h" #include "BLI_math_solvers.h" #include "BLI_math_statistics.h" +#include "BLI_math_time.h" #include "BLI_math_vector.h" |