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>2010-04-17 12:55:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-04-17 12:55:31 +0400
commit3afd8d6cc859255d0b52081fbee91b6c6a012b4c (patch)
tree262281013dbad763f94e4f3cd83d414aa24dd0bf /source/blender/blenlib/BLI_math_rotation.h
parentc00e7fb89dc6f44b74036256e55e00e9287b67db (diff)
move camera lens/angle conversion to BLI_math
Diffstat (limited to 'source/blender/blenlib/BLI_math_rotation.h')
-rw-r--r--source/blender/blenlib/BLI_math_rotation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_rotation.h b/source/blender/blenlib/BLI_math_rotation.h
index 32e6eeba452..388a9176d53 100644
--- a/source/blender/blenlib/BLI_math_rotation.h
+++ b/source/blender/blenlib/BLI_math_rotation.h
@@ -166,6 +166,9 @@ void mul_v3m3_dq(float r[3], float R[3][3], DualQuat *dq);
void mat4_to_dquat(DualQuat *r, float base[4][4], float M[4][4]);
void dquat_to_mat4(float R[4][4], DualQuat *dq);
+float lens_to_angle(float lens);
+float angle_to_lens(float angle);
+
#ifdef __cplusplus
}
#endif