[PyGMTL] gmtl.so for Leopard
I compiled Graphics Math Template Library (GMTL) ver.5.4 for OS X 10.5 + System Default Python 2.5 (of /System/Frameworks/Python.framework).
To install, just unzip and copy gmtl.so to /Libray/Python/2.5/site-packages.
Unit test result (2 errors)
FAIL: testMatrixgetRotEuler (main.MatrixGenTest)
Traceback (most recent call last): File “testsuite.py”, line 3216, in testMatrixgetRotEuler assert isEqual(gmtl.Math.rad2Deg(euler[0]), -180.0, eps) AssertionError
======================================================================
FAIL: testMatInvert (main.MatrixOpsTest)
Traceback (most recent call last): File “testsuite.py”, line 4140, in testMatInvert self.__testMatInvertFull(gmtl.Matrix44f) File “testsuite.py”, line 4109, in __testMatInvertFull assert gmtl.isEqual(multmat, expectedmat, eps) AssertionError
Ran 203 tests in 17.902s Can anyone help me?
PyGMTLをLeopard用にコンパイルしたのですがユニット・テストが2つほど通りません。