Skip to content
Snippets Groups Projects
Math.hpp 232 B
Newer Older
PoloNX's avatar
PoloNX committed
#pragma once
#include <iostream>

struct Vector2f
{
	Vector2f()
		:x(0.0f), y(0.0f)
	{}

	Vector2f(float p_x, float p_y)
		:x(p_x), y(p_y)
	{}

	void print()
	{
		std::cout << x << ", " << y << std::endl;
	}

	float x;
	float y;
};