Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-03-30 06:03:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-30 08:04:20 +0400
commita6e8137983d74ebff785ee134f635e1a08f58237 (patch)
tree6526fc6a6be6aa964d0df416922881d7421f8839 /source/blender/blenlib/BLI_math_rotation.h
parentcc439f683b2b1603e94e9d27f420692b17b79f41 (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.h2
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 */