summaryrefslogtreecommitdiff
path: root/ddl/out/LambdaCube.Mesh.cs
diff options
context:
space:
mode:
authorCsaba Hruska <csaba.hruska@gmail.com>2016-03-29 13:32:16 +0200
committerCsaba Hruska <csaba.hruska@gmail.com>2016-03-29 13:32:16 +0200
commite51c5722747d44946d730f9065901da35694c422 (patch)
tree51eeb63d15186c229f981424203b30fcd0b37e55 /ddl/out/LambdaCube.Mesh.cs
parentd720ed7cd0720668f87053728519cbcac326940e (diff)
make C# classes public
Diffstat (limited to 'ddl/out/LambdaCube.Mesh.cs')
-rw-r--r--ddl/out/LambdaCube.Mesh.cs36
1 files changed, 18 insertions, 18 deletions
diff --git a/ddl/out/LambdaCube.Mesh.cs b/ddl/out/LambdaCube.Mesh.cs
index af22144..a091e71 100644
--- a/ddl/out/LambdaCube.Mesh.cs
+++ b/ddl/out/LambdaCube.Mesh.cs
@@ -1,5 +1,5 @@
1// generated file, do not modify! 1// generated file, do not modify!
2// 2016-03-27T21:14:12.377390000000Z 2// 2016-03-29T11:30:13.232726000000Z
3 3
4using System; 4using System;
5using System.Linq; 5using System.Linq;
@@ -8,7 +8,7 @@ using Newtonsoft.Json.Linq;
8 8
9 9
10namespace LambdaCube.Mesh { 10namespace LambdaCube.Mesh {
11 class MeshAttribute { 11 public class MeshAttribute {
12 public enum Tag { 12 public enum Tag {
13 A_Float, 13 A_Float,
14 A_V2F, 14 A_V2F,
@@ -24,44 +24,44 @@ namespace LambdaCube.Mesh {
24 }; 24 };
25 25
26 namespace data { 26 namespace data {
27 class A_Float : LambdaCube.Mesh.MeshAttribute { 27 public class A_Float : LambdaCube.Mesh.MeshAttribute {
28 public List<float> _0; 28 public List<float> _0;
29 public A_Float() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_Float; } 29 public A_Float() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_Float; }
30 }; 30 };
31 class A_V2F : LambdaCube.Mesh.MeshAttribute { 31 public class A_V2F : LambdaCube.Mesh.MeshAttribute {
32 public List<V2<float>> _0; 32 public List<V2<float>> _0;
33 public A_V2F() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_V2F; } 33 public A_V2F() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_V2F; }
34 }; 34 };
35 class A_V3F : LambdaCube.Mesh.MeshAttribute { 35 public class A_V3F : LambdaCube.Mesh.MeshAttribute {
36 public List<V3<float>> _0; 36 public List<V3<float>> _0;
37 public A_V3F() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_V3F; } 37 public A_V3F() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_V3F; }
38 }; 38 };
39 class A_V4F : LambdaCube.Mesh.MeshAttribute { 39 public class A_V4F : LambdaCube.Mesh.MeshAttribute {
40 public List<V4<float>> _0; 40 public List<V4<float>> _0;
41 public A_V4F() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_V4F; } 41 public A_V4F() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_V4F; }
42 }; 42 };
43 class A_M22F : LambdaCube.Mesh.MeshAttribute { 43 public class A_M22F : LambdaCube.Mesh.MeshAttribute {
44 public List<V2<V2<float>>> _0; 44 public List<V2<V2<float>>> _0;
45 public A_M22F() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_M22F; } 45 public A_M22F() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_M22F; }
46 }; 46 };
47 class A_M33F : LambdaCube.Mesh.MeshAttribute { 47 public class A_M33F : LambdaCube.Mesh.MeshAttribute {
48 public List<V3<V3<float>>> _0; 48 public List<V3<V3<float>>> _0;
49 public A_M33F() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_M33F; } 49 public A_M33F() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_M33F; }
50 }; 50 };
51 class A_M44F : LambdaCube.Mesh.MeshAttribute { 51 public class A_M44F : LambdaCube.Mesh.MeshAttribute {
52 public List<V4<V4<float>>> _0; 52 public List<V4<V4<float>>> _0;
53 public A_M44F() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_M44F; } 53 public A_M44F() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_M44F; }
54 }; 54 };
55 class A_Int : LambdaCube.Mesh.MeshAttribute { 55 public class A_Int : LambdaCube.Mesh.MeshAttribute {
56 public List<int> _0; 56 public List<int> _0;
57 public A_Int() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_Int; } 57 public A_Int() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_Int; }
58 }; 58 };
59 class A_Word : LambdaCube.Mesh.MeshAttribute { 59 public class A_Word : LambdaCube.Mesh.MeshAttribute {
60 public List<uint> _0; 60 public List<uint> _0;
61 public A_Word() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_Word; } 61 public A_Word() { tag = LambdaCube.Mesh.MeshAttribute.Tag.A_Word; }
62 }; 62 };
63 } 63 }
64 class MeshPrimitive { 64 public class MeshPrimitive {
65 public enum Tag { 65 public enum Tag {
66 P_Points, 66 P_Points,
67 P_TriangleStrip, 67 P_TriangleStrip,
@@ -73,16 +73,16 @@ namespace LambdaCube.Mesh {
73 }; 73 };
74 74
75 namespace data { 75 namespace data {
76 class P_TriangleStripI : LambdaCube.Mesh.MeshPrimitive { 76 public class P_TriangleStripI : LambdaCube.Mesh.MeshPrimitive {
77 public List<int> _0; 77 public List<int> _0;
78 public P_TriangleStripI() { tag = LambdaCube.Mesh.MeshPrimitive.Tag.P_TriangleStripI; } 78 public P_TriangleStripI() { tag = LambdaCube.Mesh.MeshPrimitive.Tag.P_TriangleStripI; }
79 }; 79 };
80 class P_TrianglesI : LambdaCube.Mesh.MeshPrimitive { 80 public class P_TrianglesI : LambdaCube.Mesh.MeshPrimitive {
81 public List<int> _0; 81 public List<int> _0;
82 public P_TrianglesI() { tag = LambdaCube.Mesh.MeshPrimitive.Tag.P_TrianglesI; } 82 public P_TrianglesI() { tag = LambdaCube.Mesh.MeshPrimitive.Tag.P_TrianglesI; }
83 }; 83 };
84 } 84 }
85 class Mesh { 85 public class Mesh {
86 public enum Tag { 86 public enum Tag {
87 Mesh 87 Mesh
88 }; 88 };
@@ -90,7 +90,7 @@ namespace LambdaCube.Mesh {
90 }; 90 };
91 91
92 namespace data { 92 namespace data {
93 class Mesh : LambdaCube.Mesh.Mesh { 93 public class Mesh : LambdaCube.Mesh.Mesh {
94 public Dictionary<string, global::LambdaCube.Mesh.MeshAttribute> mAttributes; 94 public Dictionary<string, global::LambdaCube.Mesh.MeshAttribute> mAttributes;
95 public global::LambdaCube.Mesh.MeshPrimitive mPrimitive; 95 public global::LambdaCube.Mesh.MeshPrimitive mPrimitive;
96 public Mesh() { tag = LambdaCube.Mesh.Mesh.Tag.Mesh; } 96 public Mesh() { tag = LambdaCube.Mesh.Mesh.Tag.Mesh; }
@@ -98,7 +98,7 @@ namespace LambdaCube.Mesh {
98 } 98 }
99 99
100 // JSON deserializer 100 // JSON deserializer
101 enum Type { 101 public enum Type {
102 Int32, 102 Int32,
103 Word32, 103 Word32,
104 Float, 104 Float,
@@ -124,7 +124,7 @@ namespace LambdaCube.Mesh {
124 MeshPrimitive 124 MeshPrimitive
125 } 125 }
126 126
127 class Loader { 127 public class Loader {
128 public static object fromJSON(Type type, JToken obj) { 128 public static object fromJSON(Type type, JToken obj) {
129 switch (type) { 129 switch (type) {
130 case Type.Int32: return (int)obj; 130 case Type.Int32: return (int)obj;