Minor refactors and cleanups

This commit is contained in:
2025-12-02 15:58:51 +01:00
parent faddb1f35e
commit be4ae4f1a7
15 changed files with 223 additions and 121 deletions

View File

@@ -31,7 +31,7 @@ pub inline fn epu64x2(value: u64) u64x8 {
pub inline fn lerp(a: f32, b: f32, t: f32) f32 {
const s = 1.0 - t;
return a * t + b * s;
return a * s + b * t;
}
pub const noise2 = @import("math/noise.zig").noise2;