[Bf-blender-cvs] [6ff0d599670] master: Minor cleanup to previous commit introducing `BLI_math_time`.

Bastien Montagne noreply at git.blender.org
Tue Jun 22 17:03:44 CEST 2021


Commit: 6ff0d599670a11f472d050f66e3b692a15660c51
Author: Bastien Montagne
Date:   Tue Jun 22 17:02:45 2021 +0200
Branches: master
https://developer.blender.org/rB6ff0d599670a11f472d050f66e3b692a15660c51

Minor cleanup to previous commit introducing `BLI_math_time`.

Forgot to address latest review comments, sorry for the noise.`:wq

===================================================================

M	source/blender/blenlib/intern/math_time.c

===================================================================

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,



More information about the Bf-blender-cvs mailing list