Files
test2/source/blender/blenlib
Sybren A. Stüvel 88f536dc02 Add always-positive modulo function
Add modulo function `mod_f_positive(f, n)` that returns a positive result,
regardless of the sign of `f`.

For example, `mod_f_positive(-0.1, 1.0)` returns `0.9`, whereas the
standard `fmodf()` function would return `-0.1`.

This is useful for rewrapping values to a specific interval.
2023-05-16 11:41:17 +02:00
..
2023-05-16 11:41:17 +02:00
2022-12-29 12:01:32 -05:00
2022-11-08 15:50:49 +01:00
2022-11-12 18:33:31 +01:00
2023-05-09 13:19:16 +02:00
2023-03-09 18:15:22 +01:00
2023-03-09 10:39:49 +11:00
2023-05-09 13:19:16 +02:00
2023-03-27 12:08:14 +11:00
2023-01-31 15:49:04 +11:00