Versuchs mal damit: Koordinatentransformation

Hast den Code oben aus einer Formelsammlung?