Exemplo n.º 1
0
 Atom(
     double r,
     double g,
     double b,
     double rad,
     double rcontrast,
     double spotlight,
     double zcontrast) {
   relRadius = rad;
   rContrast = rcontrast;
   spotlightAmp = spotlight;
   zContrast = zcontrast;
   setRGB(r, g, b);
 }
Exemplo n.º 2
0
 /** colors that range from 0 to 1 */
 Atom(double r, double g, double b) {
   setRGB(r, g, b);
 }
Exemplo n.º 3
0
 /** Constructor */
 Atom(int r, int g, int b) {
   setRGB(r, g, b);
 }