(value: f32, length: f32)
| 261 | |
| 262 | #[inline] |
| 263 | pub fn repeat(value: f32, length: f32) -> f32 { |
| 264 | if length <= 0.0 { |
| 265 | return 0.0; |
| 266 | } |
| 267 | value.rem_euclid(length) |
| 268 | } |
| 269 | |
| 270 | #[inline] |
| 271 | pub fn ping_pong(value: f32, length: f32) -> f32 { |
no outgoing calls