summaryrefslogtreecommitdiffstats
path: root/core/pair.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-10-10 18:31:01 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-10-10 18:31:01 -0300
commit1527cf8c0d17891dd0ebf99d484f83daa46eba3c (patch)
treea9a0fc5a00f8f57a973f2861d051b76f99642114 /core/pair.h
parent850eaf7ed796d2f2d9a35c6bc4ba9a4e69f5ca1d (diff)
downloadredot-engine-1527cf8c0d17891dd0ebf99d484f83daa46eba3c.tar.gz
2D Shaders are working again using the new syntax, though all is buggy in general
Diffstat (limited to 'core/pair.h')
-rw-r--r--core/pair.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/pair.h b/core/pair.h
index 9bffc37f49..b5208016eb 100644
--- a/core/pair.h
+++ b/core/pair.h
@@ -34,6 +34,9 @@ struct Pair {
F first;
S second;
+
+ Pair() {}
+ Pair( F p_first, S p_second) { first=p_first; second=p_second; }
};
#endif // PAIR_H