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
10namespace LkEngine {
11
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}
Definition Timestep.h:19
Definition Asset.h:11