Support Forum       G3D Web Page     
Namespaces | Typedefs | Enumerations | Functions
G3DGameUnits.h File Reference

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License. More...

Namespaces

 G3D
 

Typedefs

typedef double G3D::RealTime
 
Actual wall clock time in seconds (Unix time). More...
 
typedef float G3D::SimTime
 
Time, in seconds in a simulation. More...
 

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, double seconds, AMPM ap)
 
Converts a 12 hour clock time into the number of seconds since midnight. More...
 
SimTime G3D::toSeconds (int hour, int minute, AMPM ap)
 

Detailed Description

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License.


documentation generated on Wed Nov 24 2021 08:01:51 using doxygen 1.8.15