Blender Git Loki

Git Commits -> Revision feaf309

Revision feaf309 by Bastien Montagne (master)
June 22, 2021, 15:00 (GMT)
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

Commit Details:

Full Hash: feaf309de742a92e158cd123b3a584915de0ac4d
Parent Commit: f4e3b1e
Lines Changed: +159, -0

3 Added Paths:

/source/blender/blenlib/BLI_math_time.h (+51, -0) (View)
/source/blender/blenlib/intern/math_time.c (+69, -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