diff options
author | Aki <please@ignore.pl> | 2022-05-21 11:55:08 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-05-21 11:55:08 +0200 |
commit | 7863e4caa1d07aef348a437fe0a662db68fd7ac3 (patch) | |
tree | bf52dfa7a7c45be1d1a696f5bf7c0c3f90beba68 /main.cpp | |
parent | de8d7a812c4da9f0375dc47626c0e836ba728207 (diff) | |
download | derelict-7863e4caa1d07aef348a437fe0a662db68fd7ac3.zip derelict-7863e4caa1d07aef348a437fe0a662db68fd7ac3.tar.gz derelict-7863e4caa1d07aef348a437fe0a662db68fd7ac3.tar.bz2 |
Added naive Timeline
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,8 +15,8 @@ main(int, char*[]) SetWindowState(FLAG_WINDOW_RESIZABLE); SetTargetFPS(60); DumpSource source("sample.json"); - auto grids = Reader::read(source); - View view(std::move(grids)); + auto [grids, timeline] = Reader::read(source); + View view(std::move(grids), std::move(timeline)); while (!WindowShouldClose()) { view.update(GetFrameTime()); |