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

◆ FromPolarCoordinates()

static Complex System.Numerics.Complex.FromPolarCoordinates ( double magnitude,
double phase )
inlinestatic

Definition at line 44 of file Complex.cs.

45 {
46 return new Complex(magnitude * Math.Cos(phase), magnitude * Math.Sin(phase));
47 }
Complex(double real, double imaginary)
Definition Complex.cs:38

References System.Numerics.Complex.Complex(), System.Math.Cos(), and System.Math.Sin().