From 233dac149478624a74831ff24454e5956124622c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 16 Apr 2014 17:24:27 +1000 Subject: Math Lib: increase epsilon for ortho_basis_v3v3_v3 passing in a unit length vector wouldn't always compute unit length vectors because the epsilon tested was too small. --- source/blender/blenlib/BLI_math_vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 a9edfa0ccff..ddf716e67f8 100644 --- a/source/blender/blenlib/BLI_math_vector.h +++ b/source/blender/blenlib/BLI_math_vector.h @@ -261,7 +261,7 @@ void project_v2_v2v2(float c[2], const float v1[2], const float v2[2]); void project_v3_v3v3(float r[3], const float p[3], const float n[3]); void project_v3_plane(float v[3], const float n[3], const float p[3]); void reflect_v3_v3v3(float r[3], const float v[3], const float n[3]); -void ortho_basis_v3v3_v3(float r1[3], float r2[3], const float a[3]); +void ortho_basis_v3v3_v3(float r_n1[3], float r_n2[3], const float n[3]); void ortho_v3_v3(float p[3], const float v[3]); void ortho_v2_v2(float p[3], const float v[3]); void bisect_v3_v3v3v3(float r[3], const float a[3], const float b[3], const float c[3]); -- cgit v1.2.3