diff options
author | Joseph Gilbert <ascotan@gmail.com> | 2005-11-22 20:59:49 +0300 |
---|---|---|
committer | Joseph Gilbert <ascotan@gmail.com> | 2005-11-22 20:59:49 +0300 |
commit | b63e26e109ba8c651ea20f553e3ca8e0604fc73f (patch) | |
tree | 677cb0099c10224c50606d64b7d750b23ca4a8e7 /source/blender/python/api2_2x/gen_utils.h | |
parent | 6c619b235cb640a350694ec0902ce19c9f9fad0b (diff) |
Added some equvalency tests for the other math objects
* ==, != are defined for matrix, quat, euler.
Diffstat (limited to 'source/blender/python/api2_2x/gen_utils.h')
-rw-r--r-- | source/blender/python/api2_2x/gen_utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/gen_utils.h b/source/blender/python/api2_2x/gen_utils.h index bf68d1a3c9b..5aa2cf5a878 100644 --- a/source/blender/python/api2_2x/gen_utils.h +++ b/source/blender/python/api2_2x/gen_utils.h @@ -62,6 +62,9 @@ #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False #endif +int EXPP_FloatsAreEqual(float A, float B, int floatSteps); +int EXPP_VectorsAreEqual(float *vecA, float *vecB, int size, int floatSteps); + PyObject *EXPP_GetModuleConstant(char *module, char *constant); int StringEqual( const char *string1, const char *string2 ); |