Skip to main content

spatial_hash_2d

Function spatial_hash_2d 

pub fn spatial_hash_2d(wx: f32, wz: f32) -> u32
Expand description

Deterministic spatial hash generating consistent pseudo-random offsets from world position $(x, z)$.