Added 2D Vector structure

This commit is contained in:
Robert 2020-05-16 13:17:31 +02:00
parent 44b415cbaa
commit 471a6ce36d
5 changed files with 58 additions and 2 deletions

View file

@ -1,6 +1,11 @@
#include "header.hpp"
#include <iostream>
int main(int argc, char** argv)
{
sdlu::Vector2f vec(.4f, -2.3f);
std::cout << "Vector2f: " << vec.x << ", " << vec.y << std::endl;
return 0;
}