Remove redundant inline imports
Since the addition of `DecomposedTransform`, we have had a top-level import of `math` to depend on.
This commit is contained in:
parent
0b3ac6e9ae
commit
2865d19ff0
@ -253,8 +253,6 @@ class Transform(NamedTuple):
|
||||
<Transform [0 1 -1 0 0 0]>
|
||||
>>>
|
||||
"""
|
||||
import math
|
||||
|
||||
c = _normSinCos(math.cos(angle))
|
||||
s = _normSinCos(math.sin(angle))
|
||||
return self.transform((c, s, -s, c, 0, 0))
|
||||
@ -269,8 +267,6 @@ class Transform(NamedTuple):
|
||||
<Transform [1 0 1 1 0 0]>
|
||||
>>>
|
||||
"""
|
||||
import math
|
||||
|
||||
return self.transform((1, math.tan(y), math.tan(x), 1, 0, 0))
|
||||
|
||||
def transform(self, other):
|
||||
|
Loading…
x
Reference in New Issue
Block a user