diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-06-21 13:15:59 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-06-21 13:15:59 +0100 |
commit | 4e8c07d3fd949287fc2361284a5a7704e642396e (patch) | |
tree | 18d7e5c2d41cedb00a29ac303637102c7d4b157d /src/vector2d.cpp | |
parent | f3e75c7f821675740736b46094382d55c7e6ee5c (diff) | |
download | YAGE-4e8c07d3fd949287fc2361284a5a7704e642396e.tar.gz YAGE-4e8c07d3fd949287fc2361284a5a7704e642396e.zip |
Correcting indentation and removed vector2d.cpp
Diffstat (limited to 'src/vector2d.cpp')
-rw-r--r-- | src/vector2d.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/vector2d.cpp b/src/vector2d.cpp deleted file mode 100644 index 9955f12f..00000000 --- a/src/vector2d.cpp +++ /dev/null @@ -1,20 +0,0 @@ -#include "vector2d.hpp" - -namespace yage -{ - -Vector2D::Vector2D(long double x, long double y) : - Vector({ x, y }) -{} - -long double Vector2D::getX() const -{ - return (*this)[0]; -} - -long double Vector2D::getY() const -{ - return (*this)[1]; -} - -} // yage |