Skip to content

Commit

Permalink
[WIP] Razaekel#212 - Fix missed changes from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
barneydmedia committed Sep 19, 2019
1 parent 06b114f commit bd7b5e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/noise_map_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ impl<'a> NoiseMapBuilder<'a> for PlaneMapBuilder<'a> {
let x_blend = 1.0 - ((current_x - x_bounds.0) / x_extent);
let y_blend = 1.0 - ((current_y - y_bounds.0) / y_extent);

let y0 = interp::linear(sw_value, se_value, x_blend);
let y1 = interp::linear(nw_value, ne_value, x_blend);
let y0 = interpolate::linear(sw_value, se_value, x_blend);
let y1 = interpolate::linear(nw_value, ne_value, x_blend);

interp::linear(y0, y1, y_blend)
interpolate::linear(y0, y1, y_blend)
} else {
readable.source_module.get([current_x, current_y, 0.0])
};
Expand Down

0 comments on commit bd7b5e0

Please sign in to comment.