Contents User Forum Source Index APIs by Task APIs by Level Data


G3DGameUnits.h File Reference

Maintainer:
Morgan McGuire, matrix@graphics3d.com
More...

#include "G3D/platform.h"

Namespaces

namespace  G3D

Defines

#define CENTIMETER   (0.01)
#define DECIMETER   (0.1)

Typedefs

typedef double G3D::GameTime
typedef double G3D::RealTime
typedef double G3D::SimTime

Enumerations

enum  {
  G3D::SECOND = 1, G3D::MINUTE = 60, G3D::HOUR = 60*60, G3D::DAY = 24*60*60,
  G3D::SUNRISE = 24*60*60/4, G3D::SUNSET = 24*60*60*3/4, G3D::MIDNIGHT = 0, G3D::METER = 1,
  G3D::KILOMETER = 1000
}
enum  G3D::AMPM { G3D::AM, G3D::PM }

Functions

SimTime G3D::toSeconds (int hour, int minute, AMPM ap)
SimTime G3D::toSeconds (int hour, int minute, double seconds, AMPM ap)


Detailed Description

Maintainer:
Morgan McGuire, matrix@graphics3d.com

Created:
2002-10-05
Last modified:
2006-11-10

Define Documentation

#define CENTIMETER   (0.01)

#define DECIMETER   (0.1)


Generated on Thu Aug 2 11:40:42 2007 for G3D by doxygen 1.5.2
Hosted by SourceForge.net Logo