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())

}

Try the rglplus package in your browser

Any scripts or data that you put into this service are public.

rglplus documentation built on May 29, 2024, 7:24 a.m.