summaryrefslogtreecommitdiff
path: root/ddl/lib/LambdaCube.IR.RT.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ddl/lib/LambdaCube.IR.RT.cs')
-rw-r--r--ddl/lib/LambdaCube.IR.RT.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/ddl/lib/LambdaCube.IR.RT.cs b/ddl/lib/LambdaCube.IR.RT.cs
new file mode 100644
index 0000000..4da3733
--- /dev/null
+++ b/ddl/lib/LambdaCube.IR.RT.cs
@@ -0,0 +1,32 @@
1using System.Collections.Generic;
2
3
4namespace LambdaCube.IR {
5
6 public struct Maybe<T>
7 {
8 public bool valid;
9 public T data;
10 }
11
12 public struct V2<T>
13 {
14 public T x;
15 public T y;
16 }
17
18 public struct V3<T>
19 {
20 public T x;
21 public T y;
22 public T z;
23 }
24
25 public struct V4<T>
26 {
27 public T x;
28 public T y;
29 public T z;
30 public T w;
31 }
32} \ No newline at end of file