Function mapApproxHeight

Source
pub unsafe extern "C" fn mapApproxHeight(
    y: *mut f32,
    ids: *mut c_int,
    g: *const Generator,
    sn: *const SurfaceNoise,
    x: c_int,
    z: c_int,
    w: c_int,
    h: c_int,
) -> c_int
Expand description

Map an approximation of the Overworld surface height. The horizontal scaling is 1:4. If non-null, the ids are filled with the biomes of the area. The height (written to y) is in blocks.