18 lines
355 B
C++
18 lines
355 B
C++
#pragma once
|
|
#include <glm/glm.hpp>
|
|
|
|
namespace deerith
|
|
{
|
|
int init_window();
|
|
void shutdown_window();
|
|
|
|
// returns false if it must terminate
|
|
bool begin_window_display();
|
|
void finish_window_display();
|
|
|
|
glm::ivec2 get_window_size();
|
|
float get_window_aspect_ratio();
|
|
|
|
int get_current_frame_id();
|
|
bool is_windows_focused();
|
|
} |