Determines the maximum heights from either direction in the elevation map. # Arguments `elevation_map` - A slice representing the heights of the terrain elevations. `reverse` - A boolean that indicates the direction of calculation. - `false` for left-to-right. - `true` for right-to-left. # Returns A vector containing the maximum heights encountered up to each position.
(elevation_map: &[u32], reverse: bool)
source not stored for this graph (policy: none)
no test coverage detected