diff options
| author | Paul Jungeblut <paul.jungeblut@gmail.com> | 2017-03-26 13:39:28 +0200 |
|---|---|---|
| committer | Paul Jungeblut <paul.jungeblut@gmail.com> | 2017-03-26 13:39:28 +0200 |
| commit | 947a0ef0384a4d35d8cae5799315a3b763ad791a (patch) | |
| tree | fa1efc159bf51ce5a98acc94a5e4fcdb951af427 /geometry/formulars.cpp | |
| parent | a777f2da69425de95680d6c0713b629981e3846d (diff) | |
Correcting order in typedef.
Diffstat (limited to 'geometry/formulars.cpp')
| -rw-r--r-- | geometry/formulars.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/geometry/formulars.cpp b/geometry/formulars.cpp index 3a5e53b..ed44b8b 100644 --- a/geometry/formulars.cpp +++ b/geometry/formulars.cpp @@ -1,6 +1,6 @@ // Komplexe Zahlen als Darstellung für Punkte. Wenn immer möglich // complex<int> verwenden. Funktionen wie abs() geben dann int zurück. -typedef pt complex<double>; +typedef complex<double> pt; // Winkel zwischen Punkt und x-Achse in [0, 2 * PI). double angle = arg(a); |
