Grass, debugger, noise height gen

This commit is contained in:
2025-11-30 00:06:04 +01:00
parent b4b4c69ec3
commit 0fbc7f32f2
11 changed files with 131 additions and 18 deletions

View File

@@ -5,3 +5,10 @@ pub const Quaternion = @import("math/Quaternion.zig").Quaternion;
pub const Vector2 = @import("math/Vector2.zig").Vector2;
pub const Vector3 = @import("math/Vector3.zig").Vector3;
pub const Vector4 = @import("math/Vector4.zig").Vector4;
pub inline fn lerp(a: f32, b: f32, t: f32) f32 {
const s = 1.0 - t;
return a * t + b * s;
}
pub const noise2 = @import("math/noise.zig").noise2;