2024-01-13 15:21:17 +11:00
|
|
|
|
2024-01-21 01:36:21 +11:00
|
|
|
#include "graphics/window.hpp"
|
2024-01-13 15:21:17 +11:00
|
|
|
|
2024-01-21 01:36:21 +11:00
|
|
|
using namespace sim;
|
2024-01-13 21:54:21 +11:00
|
|
|
|
2024-01-13 15:21:17 +11:00
|
|
|
int main()
|
|
|
|
{
|
2024-01-21 01:36:21 +11:00
|
|
|
graphics::window::create();
|
2024-01-14 23:44:36 +11:00
|
|
|
|
2024-01-21 01:36:21 +11:00
|
|
|
while(!graphics::window::should_close())
|
2024-01-13 15:21:17 +11:00
|
|
|
{
|
2024-01-21 01:36:21 +11:00
|
|
|
graphics::window::loop();
|
2024-01-13 15:21:17 +11:00
|
|
|
}
|
|
|
|
|
2024-01-21 01:36:21 +11:00
|
|
|
graphics::window::destroy();
|
2024-01-13 15:21:17 +11:00
|
|
|
}
|
|
|
|
|