color.h 306 Bytes
#ifndef __COLOR_H__
#define __COLOR_H__

typedef struct color {
  double red;
  double green;
  double blue;
} color_t;

/**
 * Randomly generate rgb values for color of polygon.
 *
 * @return a color object with randomly generated rgb values
 */
color_t color_get_random();

#endif // #ifndef __COLOR_H__