diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-11 04:41:00 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-11 05:03:09 +0300 |
commit | 5e47056e8d97e414c9dabacea71fac2bdc7d2818 (patch) | |
tree | 110a51be7cfb2f9eff9fd8db093975e29e1a3445 /source/blender/nodes/NOD_math_functions.hh | |
parent | 1c264ebdc089ea6afef7be4edeb1add4998a1099 (diff) |
Cleanup: malformed C-style comment blocks, spelling
- Missing star prefix.
- Unnecessary indentation.
- Blank line after dot-points
(otherwise doxygen merges with the previous dot-point).
- Use back-slash for doxygen commands.
- Correct spelling.
Diffstat (limited to 'source/blender/nodes/NOD_math_functions.hh')
-rw-r--r-- | source/blender/nodes/NOD_math_functions.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/nodes/NOD_math_functions.hh b/source/blender/nodes/NOD_math_functions.hh index c1f0f043c92..e58c1068368 100644 --- a/source/blender/nodes/NOD_math_functions.hh +++ b/source/blender/nodes/NOD_math_functions.hh @@ -28,15 +28,15 @@ const FloatMathOperationInfo *get_float_compare_operation_info(int operation); /** * This calls the `callback` with two arguments: - * 1. The math function that takes a float as input and outputs a new float. - * 2. A #FloatMathOperationInfo struct reference. + * 1. The math function that takes a float as input and outputs a new float. + * 2. A #FloatMathOperationInfo struct reference. * Returns true when the callback has been called, otherwise false. * * The math function that is passed to the callback is actually a lambda function that is different * for every operation. Therefore, if the callback is templated on the math function, it will get * instantiated for every operation separately. This has two benefits: - * - The compiler can optimize the callback for every operation separately. - * - A static variable declared in the callback will be generated for every operation separately. + * - The compiler can optimize the callback for every operation separately. + * - A static variable declared in the callback will be generated for every operation separately. * * If separate instantiations are not desired, the callback can also take a function pointer with * the following signature as input instead: float (*math_function)(float a). |