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

◆ RotateRelativePoint()

void Terraria.Player.RotateRelativePoint ( ref float x,
ref float y )
inline

Definition at line 4693 of file Player.cs.

4694 {
4695 //IL_0005: Unknown result type (might be due to invalid IL or missing references)
4696 //IL_000c: Unknown result type (might be due to invalid IL or missing references)
4697 //IL_0011: Unknown result type (might be due to invalid IL or missing references)
4698 //IL_0013: Unknown result type (might be due to invalid IL or missing references)
4699 //IL_001b: Unknown result type (might be due to invalid IL or missing references)
4700 Vector2 vector = RotatedRelativePoint(new Vector2(x, y));
4701 x = vector.X;
4702 y = vector.Y;
4703 }
Vector2 RotatedRelativePoint(Vector2 pos, bool reverseRotation=false, bool addGfxOffY=true)
Takes an input position and returns the position adjusted to the players visual rotation and offset....
Definition Player.cs:4740

References Terraria.Player.RotatedRelativePoint().

Referenced by Terraria.Player.ItemCheck_ApplyHoldStyle_Inner().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: