Back

//---------------------------------------------------------------------------
// created:  20041102 by N.V.Shokhirev
// modified: 20041117 by N.V.Shokhirev
// modified: 20060107 - switched to real
//---------------------------------------------------------------------------
#ifndef uRainbowH
#define uRainbowH
#include "MatUtils.h"
//---------------------------------------------------------------------------
enum RGB { clR = 255, clG = 65280, clB = 16711680 };
enum RGB2 { RG, RB, GR, GB, BR, BG };

int rainbow(real t);
int rainbow1(real t);

int PositiveNegative(RGB2 pair, real t);
int Transition(RGB2 pair, real t);

#endif

Back