// This is color.cc CVS version: $Id: color.cc,v 1.2 2000/02/28 18:06:24 andreaha Exp $
#include "eng.h"

/************************************************************************/
/* World::Color                                                         */
/************************************************************************/

/* set colors */
void World::Color::set(World::Color *c) {

  r = c->r;
  g = c->g;
  b = c->g;
}

/* set r,g,b */
void World::Color::set(float red, float green, float blue) {

  dpush4("World::Color::set(%3.1f, %3.1f, %3.1f)",red,green,blue);

  r = red;
  g = green;
  b = blue;

  dpop();
}

