#include "header.hpp" int main(int argc, char** argv) { SDL_Init(SDL_INIT_VIDEO); sdlu::Vector2f vecA(.4f, -2.3f); sdlu::Vector2f vecB(-8.9f, 0.003f); sdlu::Vector2f vec = vecA + vecB; std::cout << "Vector2f: " << vec.x << ", " << vec.y << std::endl; vec *= 1.8f; std::cout << "Vector2f: " << vec.x << ", " << vec.y << std::endl; MyWindow window(800, 800, "Test"); SDL_SetWindowTitle(window.GetWindow(), "New Title"); SDL_Event event; while (window.WaitEvent(&event)) { std::cout << event.type << std::endl; if (event.window.event == SDL_WINDOWEVENT_CLOSE) { window.Close(); break; } } SDL_Quit(); return 0; }