trim_padding: trim_padding

View source: R/add_padding.R

trim_paddingR Documentation

trim_padding

Description

Trims padding

Usage

trim_padding(heightmap, pad = 1)

Arguments

heightmap

A two-dimensional matrix, where each entry in the matrix is the elevation at that point. All points are assumed to be evenly spaced.

pad

Number of padding entries

Value

Hillshade with edges trimmed


tylermorganwall/rayshader documentation built on Nov. 21, 2024, 8:11 a.m.