terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Quaternion.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x0200032D RID: 813
9 public struct Quaternion : IEquatable<Quaternion>
10 {
11 // Token: 0x0600132C RID: 4908 RVA: 0x0005C924 File Offset: 0x0005AB24
12 public Quaternion(float x, float y, float z, float w)
13 {
14 }
15
16 // Token: 0x0600132D RID: 4909 RVA: 0x0005C934 File Offset: 0x0005AB34
18 {
19 }
20
21 // Token: 0x170001E0 RID: 480
22 // (get) Token: 0x0600132E RID: 4910 RVA: 0x0005C944 File Offset: 0x0005AB44
23 public static Quaternion Identity
24 {
25 get
26 {
27 /*
28An exception occurred when decompiling this method (0600132E)
29
30ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Quaternion Microsoft.Xna.Framework.Quaternion::get_Identity()
31
32 ---> System.Exception: Basic block has to end with unconditional control flow.
33{
34 IL_0000:
35 brtrue(IL_0000, ldc.i4:bool(1))
36}
37
38 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
39 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
40 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
41 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
42 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
43 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
44 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
45 --- End of inner exception stack trace ---
46 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
47 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
48*/;
49 }
50 }
51
52 // Token: 0x0600132F RID: 4911 RVA: 0x000021DB File Offset: 0x000003DB
54 {
55 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
56 }
57
58 // Token: 0x06001330 RID: 4912 RVA: 0x0005C954 File Offset: 0x0005AB54
59 public static void Add(Quaternion quaternion1, Quaternion quaternion2, [Out] Quaternion result)
60 {
61 }
62
63 // Token: 0x06001331 RID: 4913 RVA: 0x000021DB File Offset: 0x000003DB
65 {
66 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
67 }
68
69 // Token: 0x06001332 RID: 4914 RVA: 0x0005C964 File Offset: 0x0005AB64
70 public void Conjugate()
71 {
72 float z = this.Z;
73 this.Z = z;
74 }
75
76 // Token: 0x06001333 RID: 4915 RVA: 0x000021DB File Offset: 0x000003DB
78 {
79 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
80 }
81
82 // Token: 0x06001334 RID: 4916 RVA: 0x0005C980 File Offset: 0x0005AB80
83 public static void Conjugate(Quaternion value, [Out] Quaternion result)
84 {
85 float z = value.Z;
86 result.Z = z;
87 float w = value.W;
88 result.W = w;
89 }
90
91 // Token: 0x06001335 RID: 4917 RVA: 0x0005C9AC File Offset: 0x0005ABAC
92 public static void Concatenate(Quaternion value1, Quaternion value2, [Out] Quaternion result)
93 {
94 float x = value2.X;
95 float y = value2.Y;
96 float z = value1.Z;
97 float w = value1.W;
98 float x2 = value1.X;
99 float y2 = value1.Y;
100 float z2 = value2.Z;
101 float w2 = value2.W;
102 result.X = x;
103 result.Y = z;
104 float y3 = value1.Y;
105 float y4 = value2.Y;
106 result.Z = x2;
107 float z3 = value2.Z;
108 float z4 = value1.Z;
109 }
110
111 // Token: 0x06001336 RID: 4918 RVA: 0x0005CA2C File Offset: 0x0005AC2C
112 public static Quaternion CreateFromYawPitchRoll(float yaw, float pitch, float roll)
113 {
114 /*
115An exception occurred when decompiling this method (06001336)
116
117ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Quaternion Microsoft.Xna.Framework.Quaternion::CreateFromYawPitchRoll(System.Single,System.Single,System.Single)
118
119 ---> System.Exception: Basic block has to end with unconditional control flow.
120{
121 IL_0000:
122 brtrue(IL_0000, ldc.i4:bool(1))
123}
124
125 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
126 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
127 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
128 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
129 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
130 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
131 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
132 --- End of inner exception stack trace ---
133 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
134 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
135*/;
136 }
137
138 // Token: 0x06001337 RID: 4919 RVA: 0x0005CA3C File Offset: 0x0005AC3C
139 public static void CreateFromYawPitchRoll(float yaw, float pitch, float roll, [Out] Quaternion result)
140 {
141 if (!true)
142 {
143 }
144 }
145
146 // Token: 0x06001338 RID: 4920 RVA: 0x0005CA4C File Offset: 0x0005AC4C
147 public static Quaternion CreateFromAxisAngle(Vector3 axis, float angle)
148 {
149 /*
150An exception occurred when decompiling this method (06001338)
151
152ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Quaternion Microsoft.Xna.Framework.Quaternion::CreateFromAxisAngle(Microsoft.Xna.Framework.Vector3,System.Single)
153
154 ---> System.Exception: Basic block has to end with unconditional control flow.
155{
156 IL_0000:
157 brtrue(IL_0000, ldc.i4:bool(1))
158}
159
160 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
161 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
162 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
163 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
164 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
165 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
166 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
167 --- End of inner exception stack trace ---
168 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
169 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
170*/;
171 }
172
173 // Token: 0x06001339 RID: 4921 RVA: 0x0005CA5C File Offset: 0x0005AC5C
174 public static void CreateFromAxisAngle(Vector3 axis, float angle, [Out] Quaternion result)
175 {
176 if (!true)
177 {
178 }
179 float z = axis.Z;
180 }
181
182 // Token: 0x0600133A RID: 4922 RVA: 0x000021DB File Offset: 0x000003DB
184 {
185 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
186 }
187
188 // Token: 0x0600133B RID: 4923 RVA: 0x0005CA74 File Offset: 0x0005AC74
189 public static void CreateFromRotationMatrix(Matrix matrix, [Out] Quaternion result)
190 {
191 float m = matrix.M22;
192 float m2 = matrix.M33;
193 float m3 = matrix.M23;
194 float m4 = matrix.M32;
195 float m5 = matrix.M31;
196 float m6 = matrix.M13;
197 result.Y = m5;
198 float m7 = matrix.M12;
199 float m8 = matrix.M21;
200 }
201
202 // Token: 0x0600133C RID: 4924 RVA: 0x000021DB File Offset: 0x000003DB
204 {
205 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
206 }
207
208 // Token: 0x0600133D RID: 4925 RVA: 0x0005CB58 File Offset: 0x0005AD58
210 {
211 float x = quaternion2.X;
212 float y = quaternion2.Y;
213 float z = quaternion2.Z;
214 float w = quaternion2.W;
215 float z2 = quaternion1.Z;
216 float w2 = quaternion1.W;
217 float x2 = quaternion1.X;
218 float y2 = quaternion1.Y;
219 result.X = x2;
220 result.Y = z2;
221 float y3 = quaternion1.Y;
222 result.Z = w;
223 float z3 = quaternion1.Z;
224 result.W = x;
225 }
226
227 // Token: 0x0600133E RID: 4926 RVA: 0x000021DB File Offset: 0x000003DB
229 {
230 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
231 }
232
233 // Token: 0x0600133F RID: 4927 RVA: 0x0005CBD0 File Offset: 0x0005ADD0
234 public static void Dot(Quaternion quaternion1, Quaternion quaternion2, [Out] float result)
235 {
236 float x = quaternion1.X;
237 float y = quaternion1.Y;
238 float x2 = quaternion2.X;
239 float y2 = quaternion2.Y;
240 float z = quaternion1.Z;
241 float w = quaternion1.W;
242 float z2 = quaternion2.Z;
243 float w2 = quaternion2.W;
244 }
245
246 // Token: 0x06001340 RID: 4928 RVA: 0x0005CC1C File Offset: 0x0005AE1C
247 public override bool Equals(object obj)
248 {
249 if (obj != null)
250 {
251 }
252 float x = this.X;
253 float y = this.Y;
254 float z = this.Z;
255 float w = this.W;
256 throw new InvalidCastException();
257 }
258
259 // Token: 0x06001341 RID: 4929 RVA: 0x0005CC54 File Offset: 0x0005AE54
261 {
262 /*
263An exception occurred when decompiling this method (06001341)
264
265ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Microsoft.Xna.Framework.Quaternion::Equals(Microsoft.Xna.Framework.Quaternion)
266
267 ---> System.Exception: Basic block has to end with unconditional control flow.
268{
269 Block_0:
270 stloc:float32(var_0_06, ldfld:float32(Quaternion::Y, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
271 stloc:float32(var_1_0D, ldfld:float32(Quaternion::Z, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
272 stloc:float32(var_2_14, ldfld:float32(Quaternion::W, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
273}
274
275 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
276 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
277 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
278 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
279 --- End of inner exception stack trace ---
280 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
281 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
282*/;
283 }
284
285 // Token: 0x06001342 RID: 4930 RVA: 0x0005CC78 File Offset: 0x0005AE78
286 public override int GetHashCode()
287 {
288 int num;
289 return num;
290 }
291
292 // Token: 0x06001343 RID: 4931 RVA: 0x000021DB File Offset: 0x000003DB
294 {
295 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
296 }
297
298 // Token: 0x06001344 RID: 4932 RVA: 0x0005CC88 File Offset: 0x0005AE88
299 public static void Inverse(Quaternion quaternion, [Out] Quaternion result)
300 {
301 float z = quaternion.Z;
302 float w = quaternion.W;
303 result.Z = z;
304 result.W = w;
305 }
306
307 // Token: 0x06001345 RID: 4933 RVA: 0x0005CCB4 File Offset: 0x0005AEB4
308 public float Length()
309 {
310 /*
311An exception occurred when decompiling this method (06001345)
312
313ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Microsoft.Xna.Framework.Quaternion::Length()
314
315 ---> System.Exception: Basic block has to end with unconditional control flow.
316{
317 IL_0000:
318 stloc:float32(var_0_06, ldfld:float32(Quaternion::X, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
319 stloc:float32(var_1_0D, ldfld:float32(Quaternion::Y, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
320 stloc:float32(var_2_14, ldfld:float32(Quaternion::Z, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
321 stloc:float32(var_3_1B, ldfld:float32(Quaternion::W, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
322 brtrue(IL_0000, ldc.i4:bool(1))
323}
324
325 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
326 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
327 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
328 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
329 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
330 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
331 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
332 --- End of inner exception stack trace ---
333 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
334 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
335*/;
336 }
337
338 // Token: 0x06001346 RID: 4934 RVA: 0x0005CCE0 File Offset: 0x0005AEE0
339 public float LengthSquared()
340 {
341 /*
342An exception occurred when decompiling this method (06001346)
343
344ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Microsoft.Xna.Framework.Quaternion::LengthSquared()
345
346 ---> System.Exception: Basic block has to end with unconditional control flow.
347{
348 Block_0:
349 stloc:float32(var_0_06, ldfld:float32(Quaternion::X, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
350 stloc:float32(var_1_0D, ldfld:float32(Quaternion::Y, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
351 stloc:float32(var_2_14, ldfld:float32(Quaternion::Z, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
352 stloc:float32(var_3_1B, ldfld:float32(Quaternion::W, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
353}
354
355 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
356 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
357 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
358 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
359 --- End of inner exception stack trace ---
360 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
361 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
362*/;
363 }
364
365 // Token: 0x06001347 RID: 4935 RVA: 0x000021DB File Offset: 0x000003DB
367 {
368 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
369 }
370
371 // Token: 0x06001348 RID: 4936 RVA: 0x0005CD08 File Offset: 0x0005AF08
372 public static void Lerp(Quaternion quaternion1, Quaternion quaternion2, float amount, [Out] Quaternion result)
373 {
374 float w = quaternion1.W;
375 float w2 = quaternion2.W;
376 }
377
378 // Token: 0x06001349 RID: 4937 RVA: 0x000021DB File Offset: 0x000003DB
380 {
381 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
382 }
383
384 // Token: 0x0600134A RID: 4938 RVA: 0x0005CD3C File Offset: 0x0005AF3C
385 public static void Slerp(Quaternion quaternion1, Quaternion quaternion2, float amount, [Out] Quaternion result)
386 {
387 float x = quaternion2.X;
388 float y = quaternion2.Y;
389 float x2 = quaternion1.X;
390 float y2 = quaternion1.Y;
391 }
392
393 // Token: 0x0600134B RID: 4939 RVA: 0x000021DB File Offset: 0x000003DB
395 {
396 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
397 }
398
399 // Token: 0x0600134C RID: 4940 RVA: 0x0005CD70 File Offset: 0x0005AF70
401 {
402 }
403
404 // Token: 0x0600134D RID: 4941 RVA: 0x000021DB File Offset: 0x000003DB
406 {
407 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
408 }
409
410 // Token: 0x0600134E RID: 4942 RVA: 0x000021DB File Offset: 0x000003DB
411 public static Quaternion Multiply(Quaternion quaternion1, float scaleFactor)
412 {
413 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
414 }
415
416 // Token: 0x0600134F RID: 4943 RVA: 0x0005CD80 File Offset: 0x0005AF80
417 public static void Multiply(Quaternion quaternion1, float scaleFactor, [Out] Quaternion result)
418 {
419 result.X = scaleFactor;
420 }
421
422 // Token: 0x06001350 RID: 4944 RVA: 0x0005CD94 File Offset: 0x0005AF94
424 {
425 float x = quaternion1.X;
426 float y = quaternion1.Y;
427 float y2 = quaternion2.Y;
428 float z = quaternion2.Z;
429 float z2 = quaternion1.Z;
430 float w = quaternion1.W;
431 float w2 = quaternion2.W;
432 result.X = x;
433 result.Y = y;
434 result.Z = z;
435 result.W = x;
436 }
437
438 // Token: 0x06001351 RID: 4945 RVA: 0x000021DB File Offset: 0x000003DB
440 {
441 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
442 }
443
444 // Token: 0x06001352 RID: 4946 RVA: 0x0005CDF4 File Offset: 0x0005AFF4
445 public static void Negate(Quaternion quaternion, [Out] Quaternion result)
446 {
447 }
448
449 // Token: 0x06001353 RID: 4947 RVA: 0x0005CE04 File Offset: 0x0005B004
450 public void Normalize()
451 {
452 if (!true)
453 {
454 }
455 }
456
457 // Token: 0x06001354 RID: 4948 RVA: 0x0005CE14 File Offset: 0x0005B014
459 {
460 /*
461An exception occurred when decompiling this method (06001354)
462
463ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Quaternion Microsoft.Xna.Framework.Quaternion::Normalize(Microsoft.Xna.Framework.Quaternion)
464
465 ---> System.Exception: Basic block has to end with unconditional control flow.
466{
467 IL_0000:
468 brtrue(IL_0000, ldc.i4:bool(1))
469}
470
471 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
472 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
473 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
474 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
475 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
476 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
477 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
478 --- End of inner exception stack trace ---
479 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
480 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
481*/;
482 }
483
484 // Token: 0x06001355 RID: 4949 RVA: 0x0005CE24 File Offset: 0x0005B024
485 public static void Normalize(Quaternion quaternion, [Out] Quaternion result)
486 {
487 if (!true)
488 {
489 }
490 }
491
492 // Token: 0x06001356 RID: 4950 RVA: 0x000021DB File Offset: 0x000003DB
494 {
495 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
496 }
497
498 // Token: 0x06001357 RID: 4951 RVA: 0x000021DB File Offset: 0x000003DB
500 {
501 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
502 }
503
504 // Token: 0x06001358 RID: 4952 RVA: 0x0005CE34 File Offset: 0x0005B034
506 {
507 }
508
509 // Token: 0x06001359 RID: 4953 RVA: 0x0005CE44 File Offset: 0x0005B044
511 {
512 return true;
513 }
514
515 // Token: 0x0600135A RID: 4954 RVA: 0x000021DB File Offset: 0x000003DB
517 {
518 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
519 }
520
521 // Token: 0x0600135B RID: 4955 RVA: 0x000021DB File Offset: 0x000003DB
522 public static Quaternion operator *(Quaternion quaternion1, float scaleFactor)
523 {
524 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
525 }
526
527 // Token: 0x0600135C RID: 4956 RVA: 0x000021DB File Offset: 0x000003DB
529 {
530 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
531 }
532
533 // Token: 0x0600135D RID: 4957 RVA: 0x000021DB File Offset: 0x000003DB
535 {
536 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
537 }
538
539 // Token: 0x0600135E RID: 4958 RVA: 0x0005CE54 File Offset: 0x0005B054
540 public override string ToString()
541 {
542 /*
543An exception occurred when decompiling this method (0600135E)
544
545ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String Microsoft.Xna.Framework.Quaternion::ToString()
546
547 ---> System.Exception: Basic block has to end with unconditional control flow.
548{
549 Block_0:
550 stloc:float32(var_3_06, ldfld:float32(Quaternion::Y, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
551 stloc:float32(var_6_0D, ldfld:float32(Quaternion::Z, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
552 stloc:float32(var_9_15, ldfld:float32(Quaternion::W, ldloc:valuetype Microsoft.Xna.Framework.Quaternion&(this)))
553}
554
555 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
556 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
557 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
558 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
559 --- End of inner exception stack trace ---
560 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
561 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
562*/;
563 }
564
565 // Token: 0x0600135F RID: 4959 RVA: 0x0005CE78 File Offset: 0x0005B078
566 // Note: this type is marked as 'beforefieldinit'.
567 static Quaternion()
568 {
569 }
570
571 // Token: 0x04002268 RID: 8808
572 public float X;
573
574 // Token: 0x04002269 RID: 8809
575 public float Y;
576
577 // Token: 0x0400226A RID: 8810
578 public float Z;
579
580 // Token: 0x0400226B RID: 8811
581 public float W;
582
583 // Token: 0x0400226C RID: 8812
584 private static Quaternion identity;
585 }
586}
class f__AnonymousType0<< Count > j__TPar
static void Concatenate(Quaternion value1, Quaternion value2, [Out] Quaternion result)
Definition Quaternion.cs:92
static bool operator==(Quaternion quaternion1, Quaternion quaternion2)
static Quaternion CreateFromRotationMatrix(Matrix matrix)
static Quaternion Subtract(Quaternion quaternion1, Quaternion quaternion2)
static bool operator!=(Quaternion quaternion1, Quaternion quaternion2)
static void Negate(Quaternion quaternion, [Out] Quaternion result)
static Quaternion Conjugate(Quaternion value)
Definition Quaternion.cs:77
static void Divide(Quaternion quaternion1, Quaternion quaternion2, [Out] Quaternion result)
static void Subtract(Quaternion quaternion1, Quaternion quaternion2, [Out] Quaternion result)
static Quaternion Lerp(Quaternion quaternion1, Quaternion quaternion2, float amount)
static Quaternion operator*(Quaternion quaternion1, Quaternion quaternion2)
static void Add(Quaternion quaternion1, Quaternion quaternion2, [Out] Quaternion result)
Definition Quaternion.cs:59
static Quaternion CreateFromAxisAngle(Vector3 axis, float angle)
static Quaternion Normalize(Quaternion quaternion)
Quaternion(float x, float y, float z, float w)
Definition Quaternion.cs:12
static void Lerp(Quaternion quaternion1, Quaternion quaternion2, float amount, [Out] Quaternion result)
static void Slerp(Quaternion quaternion1, Quaternion quaternion2, float amount, [Out] Quaternion result)
bool Equals(Quaternion other)
static void Inverse(Quaternion quaternion, [Out] Quaternion result)
static Quaternion Inverse(Quaternion quaternion)
static void Conjugate(Quaternion value, [Out] Quaternion result)
Definition Quaternion.cs:83
static Quaternion Slerp(Quaternion quaternion1, Quaternion quaternion2, float amount)
static void Multiply(Quaternion quaternion1, float scaleFactor, [Out] Quaternion result)
static float Dot(Quaternion quaternion1, Quaternion quaternion2)
static Quaternion Add(Quaternion quaternion1, Quaternion quaternion2)
Definition Quaternion.cs:53
static Quaternion Multiply(Quaternion quaternion1, float scaleFactor)
static Quaternion Concatenate(Quaternion value1, Quaternion value2)
Definition Quaternion.cs:64
Quaternion(Vector3 vectorPart, float scalarPart)
Definition Quaternion.cs:17
static void CreateFromAxisAngle(Vector3 axis, float angle, [Out] Quaternion result)
static void Dot(Quaternion quaternion1, Quaternion quaternion2, [Out] float result)
static Quaternion operator/(Quaternion quaternion1, Quaternion quaternion2)
static Quaternion CreateFromYawPitchRoll(float yaw, float pitch, float roll)
override bool Equals(object obj)
static void CreateFromRotationMatrix(Matrix matrix, [Out] Quaternion result)
static Quaternion Divide(Quaternion quaternion1, Quaternion quaternion2)
static Quaternion operator+(Quaternion quaternion1, Quaternion quaternion2)
static void Multiply(Quaternion quaternion1, Quaternion quaternion2, [Out] Quaternion result)
static Quaternion operator-(Quaternion quaternion1, Quaternion quaternion2)
static Quaternion Multiply(Quaternion quaternion1, Quaternion quaternion2)
static void CreateFromYawPitchRoll(float yaw, float pitch, float roll, [Out] Quaternion result)
static Quaternion Negate(Quaternion quaternion)
static void Normalize(Quaternion quaternion, [Out] Quaternion result)