Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Barycentric()
[1/2]
static void Microsoft.Xna.Framework.Vector2.Barycentric
(
ref
Vector2
value1
,
ref
Vector2
value2
,
ref
Vector2
value3
,
float
amount1
,
float
amount2
,
out
Vector2
result
)
inline
static
Definition at line
249
of file
Vector2.cs
.
250
{
251
result.X = value1.X + amount1 * (value2.X - value1.X) + amount2 * (value3.X - value1.X);
252
result.Y = value1.Y + amount1 * (value2.Y - value1.Y) + amount2 * (value3.Y - value1.Y);
253
}
Microsoft
Xna
Framework
Vector2
Generated by
1.10.0