2005-01-27 03:35:23 +00:00
|
|
|
//This file is part of Photon (http://photon.sourceforge.net)
|
|
|
|
//Copyright (C) 2004-2005 James Turk
|
|
|
|
//
|
|
|
|
// Author:
|
|
|
|
// James Turk (jpt2433@rit.edu)
|
|
|
|
//
|
|
|
|
// Version:
|
2005-02-04 08:12:14 +00:00
|
|
|
// $Id: types.h,v 1.2 2005/02/04 08:12:14 cozman Exp $
|
2005-01-27 03:35:23 +00:00
|
|
|
//
|
|
|
|
// Revisions:
|
|
|
|
// $Log: types.h,v $
|
2005-02-04 08:12:14 +00:00
|
|
|
// Revision 1.2 2005/02/04 08:12:14 cozman
|
|
|
|
// shared_ptr
|
|
|
|
//
|
2005-01-27 03:35:23 +00:00
|
|
|
// 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
|
|
|
|
|
2005-02-04 08:12:14 +00:00
|
|
|
#include <boost/shared_ptr.hpp>
|
|
|
|
|
2005-01-27 03:35:23 +00:00
|
|
|
// Title: Basic Types
|
|
|
|
|
|
|
|
namespace photon {
|
|
|
|
|
|
|
|
// Group: Types
|
|
|
|
|
2005-02-04 08:12:14 +00:00
|
|
|
// Type: ubyte
|
2005-01-27 03:35:23 +00:00
|
|
|
// Unsigned byte, alias for unsigned char.
|
|
|
|
typedef unsigned char ubyte;
|
|
|
|
|
2005-02-04 08:12:14 +00:00
|
|
|
// Type: uint
|
2005-01-27 03:35:23 +00:00
|
|
|
// Alias for unsigned integer.
|
|
|
|
typedef unsigned int uint;
|
|
|
|
|
2005-02-04 08:12:14 +00:00
|
|
|
// Type: scalar
|
2005-01-27 03:35:23 +00:00
|
|
|
// Scalar value, used throughout photon. (double or float)
|
|
|
|
typedef double scalar;
|
2005-02-04 08:12:14 +00:00
|
|
|
|
|
|
|
// Type: shared_ptr
|
|
|
|
// Shared pointer type. (uses the boost implementation)
|
|
|
|
using boost::shared_ptr;
|
2005-01-27 03:35:23 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //PHOTON_TYPES_H
|