Added 2D Vector structure
This commit is contained in:
parent
44b415cbaa
commit
471a6ce36d
5 changed files with 58 additions and 2 deletions
|
@ -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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue