test-3drot.py
This commit is contained in:
parent
83808e3f8d
commit
60022a62f1
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def main():
|
|||
CompareMatrix(rotY, rotZ, outX, outY, outZ)
|
||||
|
||||
def CompareMatrix(rotY, rotZ, outX, outY, outZ):
|
||||
def ApproxEqual(a, b, e=0.01):
|
||||
def ApproxEqual(a, b, e=0.015):
|
||||
assert e >= 0
|
||||
a_b = a-b
|
||||
if -e < a_b < e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue