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:
authorTon Roosendaal <ton@blender.org>2006-06-03 21:21:45 +0400
committerTon Roosendaal <ton@blender.org>2006-06-03 21:21:45 +0400
commita6c97c90fb85d6e233e7083ea498565da84ae29b (patch)
treef086339578937e0cc569eff011a113532b2d2e65 /source/blender/blenlib/BLI_arithb.h
parent9ab30b4acb7d6c965c2dd1528cfbb0dad4ad66d8 (diff)
Rotation constraint update.
Small fix, but results are at least less frustrating now. It uses the "compatible euler" function from inserting key positions here, preventing euler values to be constrainted that differ weirdly. I've tried several other approaches to get a definite rotate constraint, but only constraining a single axes seems to me impossible magic still...
Diffstat (limited to 'source/blender/blenlib/BLI_arithb.h')
-rw-r--r--source/blender/blenlib/BLI_arithb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_arithb.h b/source/blender/blenlib/BLI_arithb.h
index feb5af6b9e4..b97bea8b6eb 100644
--- a/source/blender/blenlib/BLI_arithb.h
+++ b/source/blender/blenlib/BLI_arithb.h
@@ -155,6 +155,8 @@ Mat3ToEul(
float *eul
);
+void compatible_eul(float *eul, float *oldrot);
+
/**
* @section Quaternion arithmetic routines
*/