Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Reflect()
[1/2]
static void Microsoft.Xna.Framework.Vector2.Reflect
(
ref
Vector2
vector
,
ref
Vector2
normal
,
out
Vector2
result
)
inline
static
Definition at line
166
of file
Vector2.cs
.
167
{
168
float
num = vector.X * normal.X + vector.Y * normal.Y;
169
result.X = vector.X - 2f * num * normal.X;
170
result.Y = vector.Y - 2f * num * normal.Y;
171
}
Microsoft
Xna
Framework
Vector2
Generated by
1.10.0