check3d.Rd
Mostly for internal use, this function returns the current device number if one exists, or opens a new device and returns that.
.check3d()
The device number of an RGL device.
rgl.dev.list()
#> glX glX glX glX glX glX glX glX glX glX glX glX glX glX glX glX glX
#> 1 3 5 7 9 11 12 13 16 17 22 23 26 28 29 30 32
.check3d()
#> glX
#> 32
rgl.dev.list()
#> glX glX glX glX glX glX glX glX glX glX glX glX glX glX glX glX glX
#> 1 3 5 7 9 11 12 13 16 17 22 23 26 28 29 30 32
.check3d()
#> glX
#> 32
rgl.dev.list()
#> glX glX glX glX glX glX glX glX glX glX glX glX glX glX glX glX glX
#> 1 3 5 7 9 11 12 13 16 17 22 23 26 28 29 30 32
close3d()