#ifndef _JRN_GLOBALS_H
#define _JRN_GLOBALS_H

#ifndef INAN
	#define INAN -30000
#endif
#ifndef M_PI
	#define  M_PI   3.14159265358979323846f 
#endif

#define DIM_SIZE 100
#define DENOM_THRESH 10000.f

//float zoom,float* eye,int DIM_SIZE,unsigned char** voxels, int colorIndex, short int* location);
typedef struct {
  float eye[3];
  float zoom;
  short int** locList;
  float lightSpec[4];
  float lightPos[4];
  float lightAmb[4];
  float lightDif[4];
} viewData;

#define VIEW_QUADRICS 0
#define VIEW_SPLAT 1
#define OPT_MULTIGVL 2
#define OPT_SINGLEGVLSTEP 3

#define HOTCOLD     1
#define FULLCOLOR   2
#define BLACKYELLOW 3
#define BLACKREDYELLOW 4

#endif //_JRN_GLOBALS_H
