]> git.tdb.fi Git - netvis.git/blobdiff - source/vector2.h
Initial revision
[netvis.git] / source / vector2.h
diff --git a/source/vector2.h b/source/vector2.h
new file mode 100644 (file)
index 0000000..0ff927c
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef VECTOR2_H_
+#define VECTOR2_H_
+
+struct Vector2
+{
+       float x, y;
+
+       Vector2(): x(0), y(0) { }
+       Vector2(float x_, float y_): x(x_), y(y_) { }
+};
+
+#endif