cpp_photon/include/types.h

41 lines
810 B
C
Raw Normal View History

//This file is part of Photon (http://photon.sourceforge.net)
//Copyright (C) 2004-2005 James Turk
//
// Author:
// James Turk (jpt2433@rit.edu)
//
// Version:
// $Id: types.h,v 1.1 2005/01/27 03:35:23 cozman Exp $
//
// Revisions:
// $Log: types.h,v $
// Revision 1.1 2005/01/27 03:35:23 cozman
// initial import (exceptions,types, and logging,oh my!)
//
//
#ifndef PHOTON_TYPES_H
#define PHOTON_TYPES_H
// Title: Basic Types
namespace photon {
// Group: Types
// Typedef: ubyte
// Unsigned byte, alias for unsigned char.
typedef unsigned char ubyte;
// Typedef: uint
// Alias for unsigned integer.
typedef unsigned int uint;
// Typedef: scalar
// Scalar value, used throughout photon. (double or float)
typedef double scalar;
}
#endif //PHOTON_TYPES_H