aboutsummaryrefslogtreecommitdiffstats
path: root/include/YAGE/Math/vector2d.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/YAGE/Math/vector2d.hpp')
-rw-r--r--include/YAGE/Math/vector2d.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/YAGE/Math/vector2d.hpp b/include/YAGE/Math/vector2d.hpp
new file mode 100644
index 00000000..1a6d2856
--- /dev/null
+++ b/include/YAGE/Math/vector2d.hpp
@@ -0,0 +1,20 @@
+#ifndef YAGE_MATH_VECTOR2D_HPP
+#define YAGE_MATH_VECTOR2D_HPP
+
+#include "vector.hpp"
+
+namespace yage
+{
+
+class Vector2D : public Vector
+{
+public:
+ Vector2D(long double x=0.L, long double y=0.L);
+
+ long double getX() const;
+ long double getY() const;
+};
+
+} // yage
+
+#endif