X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f847103a32507f629c581fa900d95e97dfe16df0..72213209b7128b1d77ff9abc8d96e9f0158b51ae:/wxPython/wx/lib/ogl/oglmisc.py diff --git a/wxPython/wx/lib/ogl/oglmisc.py b/wxPython/wx/lib/ogl/oglmisc.py index d7cfbc824e..478f2ee774 100644 --- a/wxPython/wx/lib/ogl/oglmisc.py +++ b/wxPython/wx/lib/ogl/oglmisc.py @@ -5,8 +5,8 @@ # # Author: Pierre Hjälm (from C++ original by Julian Smart) # -# Created: 20040508 -# RCS-ID: +# Created: 2004-05-08 +# RCS-ID: $Id$ # Copyright: (c) 2004 Pierre Hjälm - 1998 Julian Smart # Licence: wxWindows license #---------------------------------------------------------------------------- @@ -387,7 +387,7 @@ def DrawArcToEllipse(x1, y1, width1, height1, x2, y2, x3, y3): E = (A + B) F = (C - (2 * A * x1) - (2 * B * x2)) G = ((A * x1 * x1) + (B * x2 * x2) - (C * x2) + D - 1) - H = ((y3 - y2) / (x32 - x2)) + H = ((y3 - y2) / (x2 - x2)) K = ((F * F) - (4 * E * G)) if K >= 0: