x3p_darker: Darken active rgl object

Description Usage Examples

View source: R/x3p_mask_legend.R

Description

Makes the currently active rgl object darker by removing a light source. Once all light sources are removed the object can not be any darker.

Usage

1

Examples

1
2
3
4
5
6
x3p <- x3p_read(system.file("sample-land.x3p", package="x3ptools"))
## Not run: 
x3p_image(x3p) # run when rgl can open window on the device
x3p_darker() # remove a light source

## End(Not run)

x3ptools documentation built on Nov. 27, 2021, 1:06 a.m.