diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-04-17 12:55:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-04-17 12:55:31 +0400 |
commit | 3afd8d6cc859255d0b52081fbee91b6c6a012b4c (patch) | |
tree | 262281013dbad763f94e4f3cd83d414aa24dd0bf /source/blender/blenlib/BLI_math_rotation.h | |
parent | c00e7fb89dc6f44b74036256e55e00e9287b67db (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.h | 3 |
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 |