Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Barycentric() [1/3]

static double ReLogic.Utilities.Vector2D.Barycentric ( double value1,
double value2,
double value3,
double amount1,
double amount2 )
inlinestatic

Definition at line 447 of file Vector2D.cs.

448 {
449 return value1 + (value2 - value1) * amount1 + (value3 - value1) * amount2;
450 }