diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-03-30 06:03:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-03-30 08:04:20 +0400 |
commit | a6e8137983d74ebff785ee134f635e1a08f58237 (patch) | |
tree | 6526fc6a6be6aa964d0df416922881d7421f8839 /source/blender/blenlib/BLI_math_rotation.h | |
parent | cc439f683b2b1603e94e9d27f420692b17b79f41 (diff) |
Convenience macro for print_ funcs, saves passing id each time
Diffstat (limited to 'source/blender/blenlib/BLI_math_rotation.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_rotation.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_rotation.h b/source/blender/blenlib/BLI_math_rotation.h index 477b3280d09..eb4579887f7 100644 --- a/source/blender/blenlib/BLI_math_rotation.h +++ b/source/blender/blenlib/BLI_math_rotation.h @@ -97,6 +97,8 @@ void mat3_to_quat_is_ok(float q[4], float mat[3][3]); /* other */ void print_qt(const char *str, const float q[4]); +#define print_qt_id(q) print_qt(STRINGIFY(q), q) + /******************************** Axis Angle *********************************/ /* conversion */ |