Type Alias veloren_world::sim::util::InverseCdf

source ·
pub type InverseCdf<F = f32> = Box<[(f32, F)]>;
Expand description

First component of each element of the vector is the computed CDF of the noise function at this index (i.e. its position in a sorted list of value returned by the noise function applied to every chunk in the game). Second component is the cached value of the noise function that generated the index.

Aliased Type§

struct InverseCdf<F = f32>(Unique<[(f32, F)]>, Global);

Fields§

§0: Unique<[(f32, F)]>§1: Global