fast-nuclear-sim/src/graphics/monitor/secondary_loop.hpp

32 lines
506 B
C++
Raw Normal View History

#pragma once
#include "../mesh/glmesh.hpp"
namespace sim::graphics::monitor
{
2024-02-16 16:51:25 +11:00
class SecondaryLoop
{
2024-02-16 16:51:25 +11:00
sim::graphics::GLMesh mesh1, mesh2;
double clock_at = 0, clock_now = 0;
2024-02-16 16:51:25 +11:00
sim::graphics::GLMesh gm_switch_2;
sim::graphics::GLMesh gm_switch_3;
2024-02-16 16:51:25 +11:00
sim::graphics::Mesh m_joystick_turbine_bypass;
sim::graphics::Mesh m_joystick_turbine_inlet;
sim::graphics::Mesh m_switch_2;
sim::graphics::Mesh m_switch_3;
public:
2024-02-16 16:51:25 +11:00
SecondaryLoop();
void init();
void update(double dt);
void render();
};
};