test-3drot.py
This commit is contained in:
parent
83808e3f8d
commit
60022a62f1
@ -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…
Reference in New Issue
Block a user