diff options
author | Bastien Montagne <bastien@blender.org> | 2021-06-22 18:02:45 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-06-22 18:02:45 +0300 |
commit | 6ff0d599670a11f472d050f66e3b692a15660c51 (patch) | |
tree | 56b95679dd7e69ceaf6d9090a4c0d5ba51c49094 /source/blender/blenlib | |
parent | feaf309de742a92e158cd123b3a584915de0ac4d (diff) |
Minor cleanup to previous commit introducing `BLI_math_time`.
Forgot to address latest review comments, sorry for the noise.`:wq
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/math_time.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/math_time.c b/source/blender/blenlib/intern/math_time.c index 23ad1ae8777..b85de7817dd 100644 --- a/source/blender/blenlib/intern/math_time.c +++ b/source/blender/blenlib/intern/math_time.c @@ -26,8 +26,9 @@ /** Explode given time value expressed in seconds, into a set of days, hours, minutes, seconds * and/or milliseconds (depending on which return parameters are not NULL). * - * \note: The smallest given return parameter will get the potential fractional remaining time - * value. + * \note The smallest given return parameter will get the potential fractional remaining time + * value. E.g. if you give `seconds=90.0` and do not pass `r_seconds` and `r_milliseconds`, + * `r_minutes` will be set to `1.5`. */ void BLI_math_time_seconds_decompose(double seconds, double *r_days, |