Fix typo: a minus sign
This commit is contained in:
parent
996839a490
commit
344ee7c867
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ def GetZoomFactor(SourceSize, TargetSize):
|
|||
# Result: (rotX, rotY, rotZ, shearX, shearY)
|
||||
def ConvertFlashRotation(rotY, rotZ, X, Y, FOV=math.tan(2*math.pi/9.0)):
|
||||
def WrapAngle(deg):
|
||||
return 180-((180+deg)%360)
|
||||
return 180-((180-deg)%360)
|
||||
def CalcPerspectiveCorrection(alpha, X, FOV=FOV):
|
||||
alpha = WrapAngle(alpha)
|
||||
if FOV is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue