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:
authorTom Musgrove <LetterRip@gmail.com>2006-10-01 20:49:41 +0400
committerTom Musgrove <LetterRip@gmail.com>2006-10-01 20:49:41 +0400
commita88807b6dd3d67c3706bf69a9811b30702bb531a (patch)
tree43fcc2fd162540cb89a8adf901b945c79643f56a /source/blender/blenlib/BLI_arithb.h
parent7e469efd43fa38113c09c1eb9f0d7a0301b1b73f (diff)
==Mat4ToEul==
a utility function to convert 4x4 matrices to a euler rotation, contributed by Joshua Lueng (aligorith)
Diffstat (limited to 'source/blender/blenlib/BLI_arithb.h')
-rw-r--r--source/blender/blenlib/BLI_arithb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_arithb.h b/source/blender/blenlib/BLI_arithb.h
index 1fab2c68458..bb2c7f0ec83 100644
--- a/source/blender/blenlib/BLI_arithb.h
+++ b/source/blender/blenlib/BLI_arithb.h
@@ -155,6 +155,12 @@ Mat3ToEul(
float *eul
);
+ void
+Mat4ToEul(
+ float tmat[][4],
+ float *eul
+);
+
void compatible_eul(float *eul, float *oldrot);
void Mat3ToCompatibleEul(float mat[][3], float *eul, float *oldrot);