// -*- C++ -*-
#ifndef RI_COMMON_H
#define RI_COMMON_H
/* Copyright 1996. 
 * Fri Mar 14 11:15:56 1997  Brian Edward Smits  (bes@phong.cs.utah.edu)
 * 
 * Common.H
 * 
 *	
 * 
 * $Id: RiCommon.H,v 1.4 1997/04/17 03:32:43 bes Exp $ 
 * 
 */

#include "assert.h"

/**********************************************************
 * Define soon to be standard boolean types (bool, true, false)
 *
 **********************************************************/

#ifndef _BOOL
typedef unsigned char bool;
#ifndef true
#define true 1
#endif

#ifndef false
#define false 0
#endif
#endif



/**********************************************************
 * NULL is defined in many places in the standard include
 * directory, but we may not need any standard include files...
 **********************************************************/
#ifndef NULL
#define NULL 0
#endif

/**********************************************************
 * Define logical types for things we may want to change
 * easily, such as float or double for radiosity calc's
 *
 * It appears that for now we don't define types.  This is
 * on the prinicple of "simplicity is best".  Hopefully we
 * won't get bitten by the "inflexible system" problem...
 * It could be a no win situation....
 **********************************************************/

#define RI_REAL_IS_FLOAT

//// Allows us to either float or doubles easily				
typedef float RiReal;


#endif /* RI_COMMON_H */

