TrueReality
v0.1.1912
TimingStructure.h
Go to the documentation of this file.
1
/*
2
* True Reality Open Source Game and Simulation Engine
3
* Copyright © 2021 Acid Rain Studios LLC
4
*
5
* This library is free software; you can redistribute it and/or modify it under
6
* the terms of the GNU Lesser General Public License as published by the Free
7
* Software Foundation; either version 3.0 of the License, or (at your option)
8
* any later version.
9
*
10
* This library is distributed in the hope that it will be useful, but WITHOUT
11
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13
* details.
14
*
15
* You should have received a copy of the GNU Lesser General Public License
16
* along with this library; if not, write to the Free Software Foundation, Inc.,
17
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*
19
* @author Maxim Serebrennik
20
*/
21
22
#pragma once
23
24
#include <
trManager/Export.h
>
25
26
namespace
trManager
27
{
33
struct
TR_MANAGER_EXPORT
TimingStructure
34
{
35
int
frameNumber = 0;
//Holds the Frame number
36
37
double
deltaSimTime = 0.;
//Scaled Time between frames in seconds.
38
double
deltaRealTime = 0.;
//Non-scaled Time between frames.
39
double
simTime = 0.;
//Scaled time of the current simulation run.
40
double
realTime = 0.;
//Non-scaled time of the current simulation run.
41
double
timeScale = 1.;
//Time scaler
42
};
43
}
44
45
trManager::TimingStructure
A timing structure for all sim loop variables.
Definition:
TimingStructure.h:33
Export.h
trManager
Definition:
ActorBase.h:34
TR_MANAGER_EXPORT
#define TR_MANAGER_EXPORT
Definition:
trManager/Export.h:34
include
trManager
TimingStructure.h
Generated by
1.8.13