From e72188433348c270a54879da9f086f1b527b580f Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 7 Sep 2018 13:30:44 +0800 Subject: *update --- src/libjin/Graphics/Window.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libjin/Graphics/Window.h') diff --git a/src/libjin/Graphics/Window.h b/src/libjin/Graphics/Window.h index 22033ee..2ecd7e4 100644 --- a/src/libjin/Graphics/Window.h +++ b/src/libjin/Graphics/Window.h @@ -5,7 +5,7 @@ #include "SDL2/SDL.h" #include "../utils/utils.h" -#include "../math/Vector2.h" +#include "../math/Vector2.hpp" #include "../common/Subsystem.hpp" namespace jin @@ -28,8 +28,8 @@ namespace graphics }; void setTitle(const char* title); - inline int getW(){ return size.x; } - inline int getH(){ return size.y; } + inline int getW(){ return size.w; } + inline int getH(){ return size.h; } inline int getFPS(){ return fps; } inline void swapBuffers(); -- cgit v1.1-26-g67d0