Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Normalize()
[2/3]
static void Microsoft.Xna.Framework.Vector3.Normalize
(
ref
Vector3
value
,
out
Vector3
result
)
inline
static
Definition at line
195
of file
Vector3.cs
.
196
{
197
float
num = value.X * value.X + value.Y * value.Y + value.Z *
value
.Z;
198
float
num2 = 1f / (float)
Math
.
Sqrt
(num);
199
result.X = value.X * num2;
200
result.Y = value.Y * num2;
201
result.Z = value.Z * num2;
202
}
System.Math.Sqrt
static double Sqrt(double d)
System.Math
Definition
Math.cs:13
System.ExceptionArgument.value
@ value
References
System.Math.Sqrt()
, and
System.value
.
Microsoft
Xna
Framework
Vector3
Generated by
1.10.0