From eca0f7403d95a6af29d34fc61c32812b2897d321 Mon Sep 17 00:00:00 2001 From: Star Brilliant Date: Tue, 10 Jun 2014 22:25:02 +0800 Subject: [PATCH] Fix mistype ... in commit a145947772363f95948f84eac9b4f39f5f1429c9 --- danmaku2ass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/danmaku2ass.py b/danmaku2ass.py index e315532..de38bf2 100755 --- a/danmaku2ass.py +++ b/danmaku2ass.py @@ -508,7 +508,7 @@ def GetZoomFactor(SourceSize, TargetSize): # Calculation is based on https://github.com/jabbany/CommentCoreLibrary/issues/5#issuecomment-40087282 # and https://github.com/m13253/danmaku2ass/issues/7#issuecomment-41489422 # ASS FOV = width*4/3.0 -# But Flash FOV = width*2.0/math.tan(100*math.pi/360.0) will be used instead +# But Flash FOV = width/math.tan(100*math.pi/360.0)/2 will be used instead # Result: (transX, transY, rotX, rotY, rotZ, scaleX, scaleY) def ConvertFlashRotation(rotY, rotZ, X, Y, width, height): def WrapAngle(deg):