Exemplo n.º 1
0
 public static ComplexNumber Normalize(this ComplexNumber c)
 {
     return(c.AsVector().normalized.AsComplexNumber());
 }
Exemplo n.º 2
0
 public static Vector2 AsVector(this ComplexNumber c)
 {
     return(new Vector2(x: (float)c.Direct, y: (float)c.Lateral.Value));
 }