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
Vector3.cs
Go to the documentation of this file.
1using System;
4using UnityEngine;
5
7{
8 // Token: 0x02000331 RID: 817
10 public struct Vector3 : IEquatable<Vector3>
11 {
12 // Token: 0x170001ED RID: 493
13 // (get) Token: 0x060013CD RID: 5069 RVA: 0x0005D930 File Offset: 0x0005BB30
14 public static Vector3 Zero
15 {
16 get
17 {
18 if (!true)
19 {
20 }
21 return 1;
22 }
23 }
24
25 // Token: 0x170001EE RID: 494
26 // (get) Token: 0x060013CE RID: 5070 RVA: 0x0005D944 File Offset: 0x0005BB44
27 public static Vector3 One
28 {
29 get
30 {
31 if (!true)
32 {
33 }
34 return 1;
35 }
36 }
37
38 // Token: 0x170001EF RID: 495
39 // (get) Token: 0x060013CF RID: 5071 RVA: 0x0005D958 File Offset: 0x0005BB58
40 public static Vector3 UnitX
41 {
42 get
43 {
44 if (!true)
45 {
46 }
47 return 1;
48 }
49 }
50
51 // Token: 0x170001F0 RID: 496
52 // (get) Token: 0x060013D0 RID: 5072 RVA: 0x0005D96C File Offset: 0x0005BB6C
53 public static Vector3 UnitY
54 {
55 get
56 {
57 if (!true)
58 {
59 }
60 return 1;
61 }
62 }
63
64 // Token: 0x170001F1 RID: 497
65 // (get) Token: 0x060013D1 RID: 5073 RVA: 0x0005D980 File Offset: 0x0005BB80
66 public static Vector3 UnitZ
67 {
68 get
69 {
70 if (!true)
71 {
72 }
73 return 1;
74 }
75 }
76
77 // Token: 0x170001F2 RID: 498
78 // (get) Token: 0x060013D2 RID: 5074 RVA: 0x0005D994 File Offset: 0x0005BB94
79 public static Vector3 Up
80 {
81 get
82 {
83 if (!true)
84 {
85 }
86 return 1;
87 }
88 }
89
90 // Token: 0x170001F3 RID: 499
91 // (get) Token: 0x060013D3 RID: 5075 RVA: 0x0005D9A8 File Offset: 0x0005BBA8
92 public static Vector3 Down
93 {
94 get
95 {
96 if (!true)
97 {
98 }
99 return 1;
100 }
101 }
102
103 // Token: 0x170001F4 RID: 500
104 // (get) Token: 0x060013D4 RID: 5076 RVA: 0x0005D9BC File Offset: 0x0005BBBC
105 public static Vector3 Right
106 {
107 get
108 {
109 if (!true)
110 {
111 }
112 return 1;
113 }
114 }
115
116 // Token: 0x170001F5 RID: 501
117 // (get) Token: 0x060013D5 RID: 5077 RVA: 0x0005D9D0 File Offset: 0x0005BBD0
118 public static Vector3 Left
119 {
120 get
121 {
122 if (!true)
123 {
124 }
125 return 1;
126 }
127 }
128
129 // Token: 0x170001F6 RID: 502
130 // (get) Token: 0x060013D6 RID: 5078 RVA: 0x0005D9E4 File Offset: 0x0005BBE4
131 public static Vector3 Forward
132 {
133 get
134 {
135 if (!true)
136 {
137 }
138 return 1;
139 }
140 }
141
142 // Token: 0x170001F7 RID: 503
143 // (get) Token: 0x060013D7 RID: 5079 RVA: 0x0005D9F8 File Offset: 0x0005BBF8
144 public static Vector3 Backward
145 {
146 get
147 {
148 if (!true)
149 {
150 }
151 return 1;
152 }
153 }
154
155 // Token: 0x060013D8 RID: 5080 RVA: 0x0005DA0C File Offset: 0x0005BC0C
156 public Vector3(float x, float y, float z)
157 {
158 }
159
160 // Token: 0x060013D9 RID: 5081 RVA: 0x0005DA1C File Offset: 0x0005BC1C
161 public Vector3(float value)
162 {
163 }
164
165 // Token: 0x060013DA RID: 5082 RVA: 0x0005DA2C File Offset: 0x0005BC2C
166 public Vector3(Vector2 value, float z)
167 {
168 }
169
170 // Token: 0x060013DB RID: 5083 RVA: 0x0005DA3C File Offset: 0x0005BC3C
172 {
173 Vector3 vector;
174 return vector;
175 }
176
177 // Token: 0x060013DC RID: 5084 RVA: 0x0005DA4C File Offset: 0x0005BC4C
178 public static void Add(Vector3 value1, Vector3 value2, [Out] Vector3 result)
179 {
180 float z = value1.Z;
181 float z2 = value2.Z;
182 result.Z = z;
183 }
184
185 // Token: 0x060013DD RID: 5085 RVA: 0x0005DA70 File Offset: 0x0005BC70
187 {
188 Vector3 vector;
189 return vector;
190 }
191
192 // Token: 0x060013DE RID: 5086 RVA: 0x0005DA88 File Offset: 0x0005BC88
193 public static void Barycentric(Vector3 value1, Vector3 value2, Vector3 value3, float amount1, float amount2, [Out] Vector3 result)
194 {
195 float y = value1.Y;
196 float y2 = value2.Y;
197 float y3 = value3.Y;
198 float z = value1.Z;
199 float z2 = value2.Z;
200 float z3 = value3.Z;
201 }
202
203 // Token: 0x060013DF RID: 5087 RVA: 0x0005DACC File Offset: 0x0005BCCC
205 {
206 Vector3 vector;
207 return vector;
208 }
209
210 // Token: 0x060013E0 RID: 5088 RVA: 0x0005DAE4 File Offset: 0x0005BCE4
211 public static void CatmullRom(Vector3 value1, Vector3 value2, Vector3 value3, Vector3 value4, float amount, [Out] Vector3 result)
212 {
213 float y = value1.Y;
214 float y2 = value2.Y;
215 float y3 = value3.Y;
216 float y4 = value4.Y;
217 float z = value1.Z;
218 float z2 = value2.Z;
219 float z3 = value3.Z;
220 float z4 = value4.Z;
221 }
222
223 // Token: 0x060013E1 RID: 5089 RVA: 0x0005DB38 File Offset: 0x0005BD38
224 public static Vector3 Clamp(Vector3 value1, Vector3 min, Vector3 max)
225 {
226 Vector3 vector;
227 return vector;
228 }
229
230 // Token: 0x060013E2 RID: 5090 RVA: 0x0005DB50 File Offset: 0x0005BD50
231 public static void Clamp(Vector3 value1, Vector3 min, Vector3 max, [Out] Vector3 result)
232 {
233 float y = value1.Y;
234 float y2 = min.Y;
235 float y3 = max.Y;
236 float z = value1.Z;
237 float z2 = min.Z;
238 float z3 = max.Z;
239 }
240
241 // Token: 0x060013E3 RID: 5091 RVA: 0x0005DB94 File Offset: 0x0005BD94
243 {
245 return vector3;
246 }
247
248 // Token: 0x060013E4 RID: 5092 RVA: 0x0005DBA4 File Offset: 0x0005BDA4
249 public static void Cross(Vector3 vector1, Vector3 vector2, [Out] Vector3 result)
250 {
251 float y = vector2.Y;
252 float z = vector2.Z;
253 float y2 = vector1.Y;
254 float z2 = vector1.Z;
255 result.X = y;
256 result.Y = z;
257 float y3 = vector2.Y;
258 float y4 = vector1.Y;
259 }
260
261 // Token: 0x060013E5 RID: 5093 RVA: 0x0005DBEC File Offset: 0x0005BDEC
262 public static float Distance(Vector3 value1, Vector3 value2)
263 {
264 /*
265An exception occurred when decompiling this method (060013E5)
266
267ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Microsoft.Xna.Framework.Vector3::Distance(Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Vector3)
268
269 ---> System.Exception: Basic block has to end with unconditional control flow.
270{
271 IL_0000:
272 brtrue(IL_0000, ldc.i4:bool(1))
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
277 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
278 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
279 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
280 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
281 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
282 --- End of inner exception stack trace ---
283 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
284 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
285*/;
286 }
287
288 // Token: 0x060013E6 RID: 5094 RVA: 0x0005DBFC File Offset: 0x0005BDFC
289 public static void Distance(Vector3 value1, Vector3 value2, [Out] float result)
290 {
291 float x = value1.X;
292 float y = value1.Y;
293 float x2 = value2.X;
294 float y2 = value2.Y;
295 float z = value1.Z;
296 float z2 = value2.Z;
297 if (!true)
298 {
299 }
300 }
301
302 // Token: 0x060013E7 RID: 5095 RVA: 0x000021DB File Offset: 0x000003DB
304 {
305 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
306 }
307
308 // Token: 0x060013E8 RID: 5096 RVA: 0x0005DC38 File Offset: 0x0005BE38
309 public static void DistanceSquared(Vector3 value1, Vector3 value2, [Out] float result)
310 {
311 float x = value1.X;
312 float y = value1.Y;
313 float x2 = value2.X;
314 float y2 = value2.Y;
315 float z = value1.Z;
316 float z2 = value2.Z;
317 }
318
319 // Token: 0x060013E9 RID: 5097 RVA: 0x0005DC74 File Offset: 0x0005BE74
321 {
322 Vector3 vector;
323 return vector;
324 }
325
326 // Token: 0x060013EA RID: 5098 RVA: 0x0005DC84 File Offset: 0x0005BE84
327 public static Vector3 Divide(Vector3 value1, float value2)
328 {
329 Vector3 vector;
330 return vector;
331 }
332
333 // Token: 0x060013EB RID: 5099 RVA: 0x0005DC94 File Offset: 0x0005BE94
334 public static void Divide(Vector3 value1, float divisor, [Out] Vector3 result)
335 {
336 float z = value1.Z;
337 }
338
339 // Token: 0x060013EC RID: 5100 RVA: 0x0005DCA8 File Offset: 0x0005BEA8
340 public static void Divide(Vector3 value1, Vector3 value2, [Out] Vector3 result)
341 {
342 float z = value1.Z;
343 float z2 = value2.Z;
344 result.Z = z;
345 }
346
347 // Token: 0x060013ED RID: 5101 RVA: 0x000021DB File Offset: 0x000003DB
348 public static float Dot(Vector3 vector1, Vector3 vector2)
349 {
350 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
351 }
352
353 // Token: 0x060013EE RID: 5102 RVA: 0x0005DCCC File Offset: 0x0005BECC
354 public static void Dot(Vector3 vector1, Vector3 vector2, [Out] float result)
355 {
356 float x = vector1.X;
357 float y = vector1.Y;
358 float x2 = vector2.X;
359 float y2 = vector2.Y;
360 float z = vector1.Z;
361 float z2 = vector2.Z;
362 }
363
364 // Token: 0x060013EF RID: 5103 RVA: 0x0005DD08 File Offset: 0x0005BF08
365 public override bool Equals(object obj)
366 {
367 if (obj != null)
368 {
369 }
370 float x = this.X;
371 float y = this.Y;
372 float z = this.Z;
373 throw new InvalidCastException();
374 }
375
376 // Token: 0x060013F0 RID: 5104 RVA: 0x0005DD34 File Offset: 0x0005BF34
377 public bool Equals(Vector3 other)
378 {
379 float x = this.X;
380 float y = this.Y;
381 float z = this.Z;
382 if (!true)
383 {
384 return;
385 }
386 }
387
388 // Token: 0x060013F1 RID: 5105 RVA: 0x0005DD5C File Offset: 0x0005BF5C
389 public override int GetHashCode()
390 {
391 /*
392An exception occurred when decompiling this method (060013F1)
393
394ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Microsoft.Xna.Framework.Vector3::GetHashCode()
395
396 ---> System.Exception: Basic block has to end with unconditional control flow.
397{
398 Block_0:
399 stloc:float32(var_0_06, ldfld:float32(Vector3::X, ldloc:valuetype Microsoft.Xna.Framework.Vector3&(this)))
400 stloc:float32(var_1_0D, ldfld:float32(Vector3::Y, ldloc:valuetype Microsoft.Xna.Framework.Vector3&(this)))
401 stloc:float32(var_2_14, ldfld:float32(Vector3::Z, ldloc:valuetype Microsoft.Xna.Framework.Vector3&(this)))
402}
403
404 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
405 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
406 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
407 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
408 --- End of inner exception stack trace ---
409 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
410 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
411*/;
412 }
413
414 // Token: 0x060013F2 RID: 5106 RVA: 0x0005DD80 File Offset: 0x0005BF80
416 {
417 Vector3 vector;
418 return vector;
419 }
420
421 // Token: 0x060013F3 RID: 5107 RVA: 0x0005DD98 File Offset: 0x0005BF98
422 public static void Hermite(Vector3 value1, Vector3 tangent1, Vector3 value2, Vector3 tangent2, float amount, [Out] Vector3 result)
423 {
424 float y = value1.Y;
425 float y2 = tangent1.Y;
426 float y3 = value2.Y;
427 float y4 = tangent2.Y;
428 result.Y = y;
429 float z = value1.Z;
430 float z2 = tangent1.Z;
431 float z3 = value2.Z;
432 float z4 = tangent2.Z;
433 result.Z = z;
434 }
435
436 // Token: 0x060013F4 RID: 5108 RVA: 0x0005DDFC File Offset: 0x0005BFFC
437 public float Length()
438 {
439 /*
440An exception occurred when decompiling this method (060013F4)
441
442ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Microsoft.Xna.Framework.Vector3::Length()
443
444 ---> System.Exception: Basic block has to end with unconditional control flow.
445{
446 IL_0000:
447 stloc:float32(var_0_06, ldfld:float32(Vector3::X, ldloc:valuetype Microsoft.Xna.Framework.Vector3&(this)))
448 stloc:float32(var_1_0D, ldfld:float32(Vector3::Y, ldloc:valuetype Microsoft.Xna.Framework.Vector3&(this)))
449 stloc:float32(var_2_14, ldfld:float32(Vector3::Z, ldloc:valuetype Microsoft.Xna.Framework.Vector3&(this)))
450 brtrue(IL_0000, ldc.i4:bool(1))
451}
452
453 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
454 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
455 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
456 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
457 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
458 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
459 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
460 --- End of inner exception stack trace ---
461 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
462 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
463*/;
464 }
465
466 // Token: 0x060013F5 RID: 5109 RVA: 0x0005DE20 File Offset: 0x0005C020
467 public float LengthSquared()
468 {
469 /*
470An exception occurred when decompiling this method (060013F5)
471
472ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Microsoft.Xna.Framework.Vector3::LengthSquared()
473
474 ---> System.Exception: Basic block has to end with unconditional control flow.
475{
476 Block_0:
477 stloc:float32(var_0_06, ldfld:float32(Vector3::X, ldloc:valuetype Microsoft.Xna.Framework.Vector3&(this)))
478 stloc:float32(var_1_0D, ldfld:float32(Vector3::Y, ldloc:valuetype Microsoft.Xna.Framework.Vector3&(this)))
479 stloc:float32(var_2_14, ldfld:float32(Vector3::Z, ldloc:valuetype Microsoft.Xna.Framework.Vector3&(this)))
480}
481
482 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
483 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
484 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
485 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
486 --- End of inner exception stack trace ---
487 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
488 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
489*/;
490 }
491
492 // Token: 0x060013F6 RID: 5110 RVA: 0x0005DE44 File Offset: 0x0005C044
494 {
495 Vector3 vector;
496 return vector;
497 }
498
499 // Token: 0x060013F7 RID: 5111 RVA: 0x0005DE5C File Offset: 0x0005C05C
500 public static void Lerp(Vector3 value1, Vector3 value2, float amount, [Out] Vector3 result)
501 {
502 float y = value1.Y;
503 float y2 = value2.Y;
504 float z = value1.Z;
505 float z2 = value2.Z;
506 }
507
508 // Token: 0x060013F8 RID: 5112 RVA: 0x0005DE90 File Offset: 0x0005C090
510 {
511 Vector3 vector;
512 return vector;
513 }
514
515 // Token: 0x060013F9 RID: 5113 RVA: 0x0005DEA8 File Offset: 0x0005C0A8
516 public static void Max(Vector3 value1, Vector3 value2, [Out] Vector3 result)
517 {
518 float y = value1.Y;
519 float y2 = value2.Y;
520 float z = value1.Z;
521 float z2 = value2.Z;
522 }
523
524 // Token: 0x060013FA RID: 5114 RVA: 0x0005DEDC File Offset: 0x0005C0DC
526 {
527 Vector3 vector;
528 return vector;
529 }
530
531 // Token: 0x060013FB RID: 5115 RVA: 0x0005DEF4 File Offset: 0x0005C0F4
532 public static void Min(Vector3 value1, Vector3 value2, [Out] Vector3 result)
533 {
534 float y = value1.Y;
535 float y2 = value2.Y;
536 float z = value1.Z;
537 float z2 = value2.Z;
538 }
539
540 // Token: 0x060013FC RID: 5116 RVA: 0x0005DF28 File Offset: 0x0005C128
542 {
543 Vector3 vector;
544 return vector;
545 }
546
547 // Token: 0x060013FD RID: 5117 RVA: 0x0005DF38 File Offset: 0x0005C138
548 public static Vector3 Multiply(Vector3 value1, float scaleFactor)
549 {
550 Vector3 vector;
551 return vector;
552 }
553
554 // Token: 0x060013FE RID: 5118 RVA: 0x0005DF48 File Offset: 0x0005C148
555 public static void Multiply(Vector3 value1, float scaleFactor, [Out] Vector3 result)
556 {
557 float z = value1.Z;
558 }
559
560 // Token: 0x060013FF RID: 5119 RVA: 0x0005DF5C File Offset: 0x0005C15C
561 public static void Multiply(Vector3 value1, Vector3 value2, [Out] Vector3 result)
562 {
563 float z = value1.Z;
564 float z2 = value2.Z;
565 result.Z = z;
566 }
567
568 // Token: 0x06001400 RID: 5120 RVA: 0x0005DF80 File Offset: 0x0005C180
570 {
571 Vector3 vector;
572 return vector;
573 }
574
575 // Token: 0x06001401 RID: 5121 RVA: 0x0005DF90 File Offset: 0x0005C190
576 public static void Negate(Vector3 value, [Out] Vector3 result)
577 {
578 float z = value.Z;
579 result.Z = z;
580 }
581
582 // Token: 0x06001402 RID: 5122 RVA: 0x0005DFAC File Offset: 0x0005C1AC
583 public void Normalize()
584 {
585 float z = this.Z;
586 float z2;
587 if (!true)
588 {
589 z2 = this.Z;
590 }
591 this.Z = z2;
592 }
593
594 // Token: 0x06001403 RID: 5123 RVA: 0x0005DFD4 File Offset: 0x0005C1D4
596 {
597 if (!true)
598 {
599 }
600 return 1;
601 }
602
603 // Token: 0x06001404 RID: 5124 RVA: 0x0005DFE8 File Offset: 0x0005C1E8
604 public static void Normalize(Vector3 value, [Out] Vector3 result)
605 {
606 float z = value.Z;
607 float z2;
608 if (!true)
609 {
610 z2 = value.Z;
611 }
612 result.Z = z2;
613 }
614
615 // Token: 0x06001405 RID: 5125 RVA: 0x0005E010 File Offset: 0x0005C210
616 public static Vector3 Reflect(Vector3 vector, Vector3 normal)
617 {
618 if (!true)
619 {
620 }
621 return 1;
622 }
623
624 // Token: 0x06001406 RID: 5126 RVA: 0x0005E024 File Offset: 0x0005C224
625 public static void Reflect(Vector3 vector, Vector3 normal, [Out] Vector3 result)
626 {
627 float z = vector.Z;
628 float z2 = normal.Z;
629 float z3;
630 if (!true)
631 {
632 z3 = vector.Z;
633 float z4 = normal.Z;
634 }
635 result.Z = z3;
636 }
637
638 // Token: 0x06001407 RID: 5127 RVA: 0x0005E058 File Offset: 0x0005C258
640 {
641 Vector3 vector;
642 return vector;
643 }
644
645 // Token: 0x06001408 RID: 5128 RVA: 0x0005E070 File Offset: 0x0005C270
646 public static void SmoothStep(Vector3 value1, Vector3 value2, float amount, [Out] Vector3 result)
647 {
648 float y = value1.Y;
649 float y2 = value2.Y;
650 float z = value1.Z;
651 float z2 = value2.Z;
652 }
653
654 // Token: 0x06001409 RID: 5129 RVA: 0x0005E0A4 File Offset: 0x0005C2A4
656 {
657 Vector3 vector;
658 return vector;
659 }
660
661 // Token: 0x0600140A RID: 5130 RVA: 0x0005E0B4 File Offset: 0x0005C2B4
662 public static void Subtract(Vector3 value1, Vector3 value2, [Out] Vector3 result)
663 {
664 float z = value1.Z;
665 float z2 = value2.Z;
666 result.Z = z;
667 }
668
669 // Token: 0x0600140B RID: 5131 RVA: 0x0005E0D8 File Offset: 0x0005C2D8
670 public override string ToString()
671 {
672 /*
673An exception occurred when decompiling this method (0600140B)
674
675ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String Microsoft.Xna.Framework.Vector3::ToString()
676
677 ---> System.Exception: Basic block has to end with unconditional control flow.
678{
679 Block_0:
680 stloc:float32(var_3_06, ldfld:float32(Vector3::Y, ldloc:valuetype Microsoft.Xna.Framework.Vector3&(this)))
681 stloc:float32(var_6_0D, ldfld:float32(Vector3::Z, ldloc:valuetype Microsoft.Xna.Framework.Vector3&(this)))
682}
683
684 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
685 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
686 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
687 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
688 --- End of inner exception stack trace ---
689 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
690 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
691*/;
692 }
693
694 // Token: 0x0600140C RID: 5132 RVA: 0x0005E0F4 File Offset: 0x0005C2F4
695 public static Vector3 Transform(Vector3 position, Matrix matrix)
696 {
697 if (!true)
698 {
699 }
700 return 1;
701 }
702
703 // Token: 0x0600140D RID: 5133 RVA: 0x0005E108 File Offset: 0x0005C308
704 public static void Transform(Vector3 position, Matrix matrix, [Out] Vector3 result)
705 {
706 float x = position.X;
707 float y = position.Y;
708 float m = matrix.M21;
709 float m2 = matrix.M13;
710 float m3 = matrix.M23;
711 float z = position.Z;
712 float m4 = matrix.M31;
713 float m5 = matrix.M33;
714 float m6 = matrix.M41;
715 float m7 = matrix.M43;
716 result.Z = x;
717 }
718
719 // Token: 0x0600140E RID: 5134 RVA: 0x0005E168 File Offset: 0x0005C368
721 {
722 float x = this.X;
723 float y = this.Y;
724 float z = this.Z;
725 Vector3 vector;
726 return vector;
727 }
728
729 // Token: 0x0600140F RID: 5135 RVA: 0x000021DB File Offset: 0x000003DB
730 public static Vector3 Transform(Vector3 value, Quaternion rotation)
731 {
732 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
733 }
734
735 // Token: 0x06001410 RID: 5136 RVA: 0x000021DB File Offset: 0x000003DB
737 {
738 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
739 }
740
741 // Token: 0x06001411 RID: 5137 RVA: 0x000021DB File Offset: 0x000003DB
743 {
744 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
745 }
746
747 // Token: 0x06001412 RID: 5138 RVA: 0x000021DB File Offset: 0x000003DB
749 {
750 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
751 }
752
753 // Token: 0x06001413 RID: 5139 RVA: 0x000021DB File Offset: 0x000003DB
755 {
756 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
757 }
758
759 // Token: 0x06001414 RID: 5140 RVA: 0x000021DB File Offset: 0x000003DB
760 public static void Transform(Vector3 value, Quaternion rotation, [Out] Vector3 result)
761 {
762 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
763 }
764
765 // Token: 0x06001415 RID: 5141 RVA: 0x000021DB File Offset: 0x000003DB
767 {
768 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
769 }
770
771 // Token: 0x06001416 RID: 5142 RVA: 0x000021DB File Offset: 0x000003DB
773 {
774 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
775 }
776
777 // Token: 0x06001417 RID: 5143 RVA: 0x0005E18C File Offset: 0x0005C38C
779 {
780 if (!true)
781 {
782 }
783 float z = normal.Z;
784 return 1;
785 }
786
787 // Token: 0x06001418 RID: 5144 RVA: 0x0005E1A4 File Offset: 0x0005C3A4
788 public static void TransformNormal(Vector3 normal, Matrix matrix, [Out] Vector3 result)
789 {
790 float x = normal.X;
791 float y = normal.Y;
792 float m = matrix.M21;
793 float m2 = matrix.M13;
794 float m3 = matrix.M23;
795 float z = normal.Z;
796 float m4 = matrix.M31;
797 float m5 = matrix.M33;
798 result.Z = x;
799 }
800
801 // Token: 0x06001419 RID: 5145 RVA: 0x0005E1F4 File Offset: 0x0005C3F4
803 {
804 }
805
806 // Token: 0x0600141A RID: 5146 RVA: 0x0005E204 File Offset: 0x0005C404
808 {
809 return true;
810 }
811
812 // Token: 0x0600141B RID: 5147 RVA: 0x0005E214 File Offset: 0x0005C414
814 {
815 Vector3 vector;
816 return vector;
817 }
818
819 // Token: 0x0600141C RID: 5148 RVA: 0x0005E224 File Offset: 0x0005C424
821 {
822 Vector3 vector;
823 return vector;
824 }
825
826 // Token: 0x0600141D RID: 5149 RVA: 0x0005E234 File Offset: 0x0005C434
828 {
829 Vector3 vector;
830 return vector;
831 }
832
833 // Token: 0x0600141E RID: 5150 RVA: 0x0005E244 File Offset: 0x0005C444
835 {
836 Vector3 vector;
837 return vector;
838 }
839
840 // Token: 0x0600141F RID: 5151 RVA: 0x0005E254 File Offset: 0x0005C454
841 public static Vector3 operator *(Vector3 value, float scaleFactor)
842 {
843 Vector3 vector;
844 return vector;
845 }
846
847 // Token: 0x06001420 RID: 5152 RVA: 0x0005E264 File Offset: 0x0005C464
848 public static Vector3 operator *(float scaleFactor, Vector3 value)
849 {
850 Vector3 vector;
851 return vector;
852 }
853
854 // Token: 0x06001421 RID: 5153 RVA: 0x0005E274 File Offset: 0x0005C474
856 {
857 Vector3 vector;
858 return vector;
859 }
860
861 // Token: 0x06001422 RID: 5154 RVA: 0x0005E284 File Offset: 0x0005C484
862 public static Vector3 operator /(Vector3 value, float divider)
863 {
864 Vector3 vector;
865 return vector;
866 }
867
868 // Token: 0x06001423 RID: 5155 RVA: 0x0005E294 File Offset: 0x0005C494
869 // Note: this type is marked as 'beforefieldinit'.
870 static Vector3()
871 {
872 }
873
874 // Token: 0x04002278 RID: 8824
875 private static Vector3 zero;
876
877 // Token: 0x04002279 RID: 8825
878 private static Vector3 one;
879
880 // Token: 0x0400227A RID: 8826
881 private static Vector3 unitX;
882
883 // Token: 0x0400227B RID: 8827
884 private static Vector3 unitY;
885
886 // Token: 0x0400227C RID: 8828
887 private static Vector3 unitZ;
888
889 // Token: 0x0400227D RID: 8829
890 private static Vector3 up;
891
892 // Token: 0x0400227E RID: 8830
893 private static Vector3 down;
894
895 // Token: 0x0400227F RID: 8831
896 private static Vector3 right;
897
898 // Token: 0x04002280 RID: 8832
899 private static Vector3 left;
900
901 // Token: 0x04002281 RID: 8833
902 private static Vector3 forward;
903
904 // Token: 0x04002282 RID: 8834
905 private static Vector3 backward;
906
907 // Token: 0x04002283 RID: 8835
908 public float X;
909
910 // Token: 0x04002284 RID: 8836
911 public float Y;
912
913 // Token: 0x04002285 RID: 8837
914 public float Z;
915 }
916}
class f__AnonymousType0<< Count > j__TPar
static void Transform(Vector3[] sourceArray, Quaternion rotation, Vector3[] destinationArray)
Definition Vector3.cs:742
static void Add(Vector3 value1, Vector3 value2, [Out] Vector3 result)
Definition Vector3.cs:178
static bool operator!=(Vector3 value1, Vector3 value2)
Definition Vector3.cs:807
static bool operator==(Vector3 value1, Vector3 value2)
Definition Vector3.cs:802
static Vector3 TransformNormal(Vector3 normal, Matrix matrix)
Definition Vector3.cs:778
static void Distance(Vector3 value1, Vector3 value2, [Out] float result)
Definition Vector3.cs:289
static void Normalize(Vector3 value, [Out] Vector3 result)
Definition Vector3.cs:604
static Vector3 Clamp(Vector3 value1, Vector3 min, Vector3 max)
Definition Vector3.cs:224
static void DistanceSquared(Vector3 value1, Vector3 value2, [Out] float result)
Definition Vector3.cs:309
static Vector3 Multiply(Vector3 value1, Vector3 value2)
Definition Vector3.cs:541
static Vector3 Min(Vector3 value1, Vector3 value2)
Definition Vector3.cs:525
static Vector3 Add(Vector3 value1, Vector3 value2)
Definition Vector3.cs:171
static float Dot(Vector3 vector1, Vector3 vector2)
Definition Vector3.cs:348
static Vector3 Transform(Vector3 position, Matrix matrix)
Definition Vector3.cs:695
static Vector3 Subtract(Vector3 value1, Vector3 value2)
Definition Vector3.cs:655
Vector3(Vector2 value, float z)
Definition Vector3.cs:166
static Vector3 operator/(Vector3 value1, Vector3 value2)
Definition Vector3.cs:855
static Vector3 operator*(Vector3 value1, Vector3 value2)
Definition Vector3.cs:834
static Vector3 SmoothStep(Vector3 value1, Vector3 value2, float amount)
Definition Vector3.cs:639
static void Multiply(Vector3 value1, float scaleFactor, [Out] Vector3 result)
Definition Vector3.cs:555
static Vector3 Barycentric(Vector3 value1, Vector3 value2, Vector3 value3, float amount1, float amount2)
Definition Vector3.cs:186
static void SmoothStep(Vector3 value1, Vector3 value2, float amount, [Out] Vector3 result)
Definition Vector3.cs:646
static void Max(Vector3 value1, Vector3 value2, [Out] Vector3 result)
Definition Vector3.cs:516
static void Divide(Vector3 value1, Vector3 value2, [Out] Vector3 result)
Definition Vector3.cs:340
static void Hermite(Vector3 value1, Vector3 tangent1, Vector3 value2, Vector3 tangent2, float amount, [Out] Vector3 result)
Definition Vector3.cs:422
static Vector3 Hermite(Vector3 value1, Vector3 tangent1, Vector3 value2, Vector3 tangent2, float amount)
Definition Vector3.cs:415
bool Equals(Vector3 other)
Definition Vector3.cs:377
static void Transform(Vector3[] sourceArray, int sourceIndex, Quaternion rotation, Vector3[] destinationArray, int destinationIndex, int length)
Definition Vector3.cs:754
static void Multiply(Vector3 value1, Vector3 value2, [Out] Vector3 result)
Definition Vector3.cs:561
static void Min(Vector3 value1, Vector3 value2, [Out] Vector3 result)
Definition Vector3.cs:532
static Vector3 Negate(Vector3 value)
Definition Vector3.cs:569
static Vector3 Divide(Vector3 value1, float value2)
Definition Vector3.cs:327
static Vector3 operator+(Vector3 value1, Vector3 value2)
Definition Vector3.cs:813
override string ToString()
Definition Vector3.cs:670
static void Transform(Vector3 value, Quaternion rotation, [Out] Vector3 result)
Definition Vector3.cs:760
static void Transform(Vector3 position, Matrix matrix, [Out] Vector3 result)
Definition Vector3.cs:704
static void Subtract(Vector3 value1, Vector3 value2, [Out] Vector3 result)
Definition Vector3.cs:662
static Vector3 Max(Vector3 value1, Vector3 value2)
Definition Vector3.cs:509
override bool Equals(object obj)
Definition Vector3.cs:365
static Vector3 Lerp(Vector3 value1, Vector3 value2, float amount)
Definition Vector3.cs:493
static Vector3 Normalize(Vector3 value)
Definition Vector3.cs:595
static Vector3 CatmullRom(Vector3 value1, Vector3 value2, Vector3 value3, Vector3 value4, float amount)
Definition Vector3.cs:204
static float Distance(Vector3 value1, Vector3 value2)
Definition Vector3.cs:262
static Vector3 Divide(Vector3 value1, Vector3 value2)
Definition Vector3.cs:320
static void Clamp(Vector3 value1, Vector3 min, Vector3 max, [Out] Vector3 result)
Definition Vector3.cs:231
static Vector3 Multiply(Vector3 value1, float scaleFactor)
Definition Vector3.cs:548
Vector3(float x, float y, float z)
Definition Vector3.cs:156
static void Transform(Vector3[] sourceArray, int sourceIndex, Matrix matrix, Vector3[] destinationArray, int destinationIndex, int length)
Definition Vector3.cs:748
static void Barycentric(Vector3 value1, Vector3 value2, Vector3 value3, float amount1, float amount2, [Out] Vector3 result)
Definition Vector3.cs:193
static Vector3 Reflect(Vector3 vector, Vector3 normal)
Definition Vector3.cs:616
static void Negate(Vector3 value, [Out] Vector3 result)
Definition Vector3.cs:576
static void Cross(Vector3 vector1, Vector3 vector2, [Out] Vector3 result)
Definition Vector3.cs:249
static void TransformNormal(Vector3[] sourceArray, int sourceIndex, Matrix matrix, Vector3[] destinationArray, int destinationIndex, int length)
Definition Vector3.cs:772
static void Transform(Vector3[] sourceArray, Matrix matrix, Vector3[] destinationArray)
Definition Vector3.cs:736
static Vector3 Cross(Vector3 vector1, Vector3 vector2)
Definition Vector3.cs:242
static float DistanceSquared(Vector3 value1, Vector3 value2)
Definition Vector3.cs:303
static void TransformNormal(Vector3[] sourceArray, Matrix matrix, Vector3[] destinationArray)
Definition Vector3.cs:766
static void CatmullRom(Vector3 value1, Vector3 value2, Vector3 value3, Vector3 value4, float amount, [Out] Vector3 result)
Definition Vector3.cs:211
static void Divide(Vector3 value1, float divisor, [Out] Vector3 result)
Definition Vector3.cs:334
static void Reflect(Vector3 vector, Vector3 normal, [Out] Vector3 result)
Definition Vector3.cs:625
static void TransformNormal(Vector3 normal, Matrix matrix, [Out] Vector3 result)
Definition Vector3.cs:788
static void Lerp(Vector3 value1, Vector3 value2, float amount, [Out] Vector3 result)
Definition Vector3.cs:500
static void Dot(Vector3 vector1, Vector3 vector2, [Out] float result)
Definition Vector3.cs:354
static Vector3 operator-(Vector3 value)
Definition Vector3.cs:820
static Vector3 Transform(Vector3 value, Quaternion rotation)
Definition Vector3.cs:730