I may have used ai for some of the proc gen..

This commit is contained in:
2025-03-01 22:52:34 -06:00
parent 8c0601c7aa
commit 2be653504a
9 changed files with 599 additions and 62 deletions

View File

@@ -15,9 +15,9 @@ vec2_to_vec2i :: proc(v2:[2]f32) -> Vec2i {
return {int(v2.x), int(v2.y)}
}
hash_noise :: proc(x, y: int, seed: u32) -> f32 {
h: u32 = u32(x) * 374761393
h *= u32(y) * 668265263
hash_noise :: proc(x, y: int, seed: i64) -> f32 {
h: i64 = i64(x) * 374761393
h *= i64(y) * 668265263
h *= seed
h *= 3266489917
h >>= 16