test-3drot.py

This commit is contained in:
Star Brilliant 2014-06-08 20:48:43 +08:00
parent 83808e3f8d
commit 60022a62f1

View File

@ -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: