added custom point class for prototyping

This commit is contained in:
incredibleLeitman 2020-11-18 18:01:43 +01:00
parent ff12edcdbe
commit a0db48c85f

20
Point.h Normal file
View File

@ -0,0 +1,20 @@
#pragma once
class Point
{
private:
float m_x, m_y;
public:
Point(float x, float y) : m_x(x), m_y(y) {}
float x()
{
return m_x;
}
float y()
{
return m_y;
}
};