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

◆ AngleFrom()

float Terraria.Entity.AngleFrom ( Vector2 Source)
inlineinherited

Definition at line 266 of file Entity.cs.

267 {
268 //IL_0001: Unknown result type (might be due to invalid IL or missing references)
269 //IL_000b: Unknown result type (might be due to invalid IL or missing references)
270 //IL_0014: Unknown result type (might be due to invalid IL or missing references)
271 //IL_001e: Unknown result type (might be due to invalid IL or missing references)
272 return (float)Math.Atan2(Center.Y - Source.Y, Center.X - Source.X);
273 }
Vector2 Center
Definition Entity.cs:70

References Terraria.Entity.Center.