tests/testthat/test-shapelist3d.R

test_that("shapelist3d works with col (issue #462)", {
  col <- 1:5
  open3d()
  shapelist3d(cube3d(), x = 1:2, y = 1, z = 1, col = c("red", "blue"))
  expect_known_scene("shapelist3d")
})

Try the rgl package in your browser

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

rgl documentation built on Feb. 2, 2026, 5:07 p.m.