mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-24 05:57:17 -04:00
6 lines
108 B
Zig
6 lines
108 B
Zig
const std = @import("std");
|
|
|
|
export fn saw(t: f64) f64 {
|
|
return ((@mod(110.0 * t, 1.0)) - 0.5) * 2.0;
|
|
}
|