Esempio n. 1
0
 /**
  * Sets the background color for this scene.
  *
  * @param r The red component of the background color.
  * @param g The green component of the background color.
  * @param b The blue component of the background color.
  */
 public final void setBackColor(float r, float g, float b) {
   bgColor.r = r;
   bgColor.g = g;
   bgColor.b = b;
 }
Esempio n. 2
0
 /**
  * Sets the background color for this scene.
  *
  * @param color The background color.
  */
 public final void setBackColor(RGB color) {
   bgColor.r = color.r;
   bgColor.g = color.g;
   bgColor.b = color.b;
 }