Minor refactors and cleanups
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user