diff options
Diffstat (limited to '')
-rw-r--r-- | ThirdParty/TribalMedia/TribalMedia.Framework.Data/DataReader.cs | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/ThirdParty/TribalMedia/TribalMedia.Framework.Data/DataReader.cs b/ThirdParty/TribalMedia/TribalMedia.Framework.Data/DataReader.cs index 6f84d43..4792e9e 100644 --- a/ThirdParty/TribalMedia/TribalMedia.Framework.Data/DataReader.cs +++ b/ThirdParty/TribalMedia/TribalMedia.Framework.Data/DataReader.cs | |||
@@ -61,29 +61,6 @@ namespace TribalMedia.Framework.Data | |||
61 | return (sbyte) m_source.GetInt16(m_source.GetOrdinal(name)); | 61 | return (sbyte) m_source.GetInt16(m_source.GetOrdinal(name)); |
62 | } | 62 | } |
63 | 63 | ||
64 | //public Vector3 GetVector(string s) | ||
65 | //{ | ||
66 | // float x = GetFloat(s + "X"); | ||
67 | // float y = GetFloat(s + "Y"); | ||
68 | // float z = GetFloat(s + "Z"); | ||
69 | |||
70 | // Vector3 vector = new Vector3(x, y, z); | ||
71 | |||
72 | // return vector; | ||
73 | //} | ||
74 | |||
75 | //public Quaternion GetQuaternion(string s) | ||
76 | //{ | ||
77 | // float x = GetFloat(s + "X"); | ||
78 | // float y = GetFloat(s + "Y"); | ||
79 | // float z = GetFloat(s + "Z"); | ||
80 | // float w = GetFloat(s + "W"); | ||
81 | |||
82 | // Quaternion quaternion = new Quaternion(x, y, z, w); | ||
83 | |||
84 | // return quaternion; | ||
85 | //} | ||
86 | |||
87 | public float GetFloat(string name) | 64 | public float GetFloat(string name) |
88 | { | 65 | { |
89 | return m_source.GetFloat(m_source.GetOrdinal(name)); | 66 | return m_source.GetFloat(m_source.GetOrdinal(name)); |
@@ -134,7 +111,7 @@ namespace TribalMedia.Framework.Data | |||
134 | return m_source.Read(); | 111 | return m_source.Read(); |
135 | } | 112 | } |
136 | 113 | ||
137 | internal Guid GetGuid(string name) | 114 | public Guid GetGuid(string name) |
138 | { | 115 | { |
139 | string guidString = GetString(name); | 116 | string guidString = GetString(name); |
140 | if (String.IsNullOrEmpty(guidString)) | 117 | if (String.IsNullOrEmpty(guidString)) |