#include "common.h"
#include "vmath.h"
#include "bu/defines.h"
#include "bu/magic.h"
Go to the source code of this file.
|
int | bu_color_rand (struct bu_color *c, bu_color_rand_t type) |
|
void | bu_rgb_to_hsv (const unsigned char *rgb, fastf_t *hsv) |
|
int | bu_hsv_to_rgb (const fastf_t *hsv, unsigned char *rgb) |
|
int | bu_color_from_rgb_floats (struct bu_color *cp, const fastf_t *rgb) |
|
int | bu_color_from_rgb_chars (struct bu_color *cp, const unsigned char *rgb) |
|
int | bu_color_from_str (struct bu_color *cp, const char *str) |
|
int | bu_str_to_rgb (const char *str, unsigned char *rgb) |
|
int | bu_color_to_rgb_floats (const struct bu_color *cp, fastf_t *rgb) |
|
int | bu_color_to_rgb_chars (const struct bu_color *cp, unsigned char *rgb) |
|
int | bu_color_to_rgb_ints (const struct bu_color *cp, int *r, int *g, int *b) |
|