blob: 3c8a70978538da4ffe9b463b45e47b352951bc5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include <kurator/sim/State.h>
#include <kurator/engine/Context.h>
namespace kurator
{
namespace sim
{
State::operator engine::Context()
{
return {registry, dispatcher, clock, camera};
}
State::operator engine::ConstContext() const
{
return {registry, dispatcher, clock, camera};
}
} // namespace sim
} // namespace kurator
|