mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 10:29:19 +02:00
glfw
This commit is contained in:
5
World.h
5
World.h
@@ -9,6 +9,7 @@ http://mozilla.org/MPL/2.0/.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <string>
|
||||
#include "Camera.h"
|
||||
#include "Ground.h"
|
||||
@@ -22,8 +23,8 @@ class TWorld
|
||||
void DistantView();
|
||||
|
||||
public:
|
||||
bool Init(HWND NhWnd, HDC hDC);
|
||||
HWND hWnd;
|
||||
bool Init(GLFWwindow *w);
|
||||
GLFWwindow *window;
|
||||
GLvoid glPrint(const char *fmt);
|
||||
void OnKeyDown(int cKey);
|
||||
void OnKeyUp(int cKey);
|
||||
|
||||
Reference in New Issue
Block a user