R/rgl.close.all.R

Defines functions rgl.close.all

Documented in rgl.close.all

#' @title Close all open rgl windows
#'
#' @description Checks if any rgl windows are currently open and, if so, closes them.
#'
#' @importFrom rgl close3d rgl.dev.list
#'
#' @author Danail Obreschkow
#'
#' @export rgl.close.all

rgl.close.all = function() {

  close3d(rgl.dev.list())

}
obreschkow/rglplus documentation built on Oct. 25, 2024, 7:32 p.m.