From c82da98f3d5cb43a9cae446df5529a1fd5566ad5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 6 Feb 2011 09:01:01 +0000 Subject: bugfix [#25824] Quats + Camera + Fly = Madness ensure quat, delta rotation is set to a unit quaternion on older files. --- source/blender/blenlib/BLI_math_vector.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenlib/BLI_math_vector.h') diff --git a/source/blender/blenlib/BLI_math_vector.h b/source/blender/blenlib/BLI_math_vector.h index d6d9c0a1c22..16b8ff8e472 100644 --- a/source/blender/blenlib/BLI_math_vector.h +++ b/source/blender/blenlib/BLI_math_vector.h @@ -123,6 +123,7 @@ void mid_v3_v3v3(float r[3], const float a[3], const float b[3]); /********************************* Comparison ********************************/ MINLINE int is_zero_v3(const float a[3]); +MINLINE int is_zero_v4(const float a[4]); MINLINE int is_one_v3(const float a[3]); MINLINE int equals_v2v2(const float *v1, const float *v2); -- cgit v1.2.3