diff --git a/src/Vector.cpp b/src/Vector.cpp new file mode 100644 index 0000000..c656c21 --- /dev/null +++ b/src/Vector.cpp @@ -0,0 +1,8 @@ +#include "Vector.h" + +Vector::Vector(float x, float y) { + this->x=x; + this->y=y; +} + +Vector::Vector() {} \ No newline at end of file diff --git a/src/Vector.h b/src/Vector.h new file mode 100644 index 0000000..88157d9 --- /dev/null +++ b/src/Vector.h @@ -0,0 +1,6 @@ +class Vector { + public: + float x,y; + Vector(); + Vector(float x, float y); +}; \ No newline at end of file