LkEngine
0.1.2
Loading...
Searching...
No Matches
Timestep.h
1
/******************************************************************
2
* Timestep
3
*
4
*******************************************************************/
5
#pragma once
6
7
#include <stddef.h>
8
#include <stdint.h>
9
10
namespace
LkEngine
{
11
18
class
FTimestep
19
{
20
public
:
21
FTimestep
(
const
float
InTimestep = 0.0f)
22
: Timestep(InTimestep) {}
23
~FTimestep
() =
default
;
24
25
FORCEINLINE
operator
float()
const
{
return
Timestep; }
26
FORCEINLINE
FTimestep
& operator=(
const
float
InTimestep)
27
{
28
Timestep = InTimestep;
29
return
*
this
;
30
}
31
32
private
:
33
float
Timestep = 0.0f;
34
};
35
36
}
LkEngine::FTimestep
Definition
Timestep.h:19
LkEngine
Definition
Asset.h:11
LkEngine
Source
LkEngine
Core
Time
Timestep.h
Generated by
1.12.0