Plot convex hulls for different groups in 3D scatterplots
created using rgl. Used internally (mostly).
Coordinates for the scatterplot
A factor grouping data points.
A vector (either character or numeric) indicating the colors used for each group.
Further arguments passed to rgl::triangles3d() (e.g.
specular, alpha).