(deg)
| 505 | # Result: (rotX, rotY, rotZ, shearX, shearY) |
| 506 | def ConvertFlashRotation(rotY, rotZ, X, Y, FOV=math.tan(2*math.pi/9.0)): |
| 507 | def WrapAngle(deg): |
| 508 | return 180-((180-deg)%360) |
| 509 | def CalcPerspectiveCorrection(alpha, X, FOV=FOV): |
| 510 | alpha = WrapAngle(alpha) |
| 511 | if FOV is None: |
no outgoing calls
no test coverage detected