diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-11-29 12:31:54 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-11-29 12:31:54 +0300 |
commit | cc1a64be36f3dc862ad83ee3f4730a2b4c5649fd (patch) | |
tree | 947b1ee16a61ef8598b31436585138015e146dd8 /source/blender/blenlib/intern | |
parent | 3b467b35a85153e9435a1fbcba2e9c1770c1192a (diff) |
Math lib: Fix use function of wrong dimension
Seems to be a typo in recent commit e1e49fd.
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/math_geom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c index 0790d65345d..38947e139ff 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -3919,7 +3919,7 @@ void lookat_m4(float mat[4][4], float vx, float vy, float vz, float px, float py unit_m4(mat1); - axis_angle_to_mat3_single(mat, 'Z', -twist); + axis_angle_to_mat4_single(mat, 'Z', -twist); dx = px - vx; dy = py - vy; |