···1-const std = @import("std");
2-const random = std.crypto.random;
34const zm = @import("zmath");
000056/// Returns a random real in [0,1).
7pub inline fn randomF32() f32 {
···1+const random = @import("std").crypto.random;
2+const math = @import("std").math;
34const zm = @import("zmath");
5+6+pub inline fn degreesToRadians(degrees: f32) f32 {
7+ return degrees * math.pi / 180.0;
8+}
910/// Returns a random real in [0,1).
11pub inline fn randomF32() f32 {