summaryrefslogtreecommitdiff
path: root/drivers/pvr/Point2.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pvr/Point2.h')
-rw-r--r--drivers/pvr/Point2.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/pvr/Point2.h b/drivers/pvr/Point2.h
new file mode 100644
index 0000000000..89fa4b6322
--- /dev/null
+++ b/drivers/pvr/Point2.h
@@ -0,0 +1,17 @@
+#pragma once
+
+namespace Javelin {
+
+template<typename T>
+class Point2 {
+public:
+ T x;
+ T y;
+
+ Point2(int a, int b)
+ : x(a)
+ , y(b) {
+ }
+};
+
+}