[Bf-blender-cvs] [279f7ad8ac1] master: Cleanup: Correction to previous cleanup commit

Julian Eisel noreply at git.blender.org
Wed Sep 2 16:31:50 CEST 2020


Commit: 279f7ad8ac193bc3a1656e992be23b2c7368b374
Author: Julian Eisel
Date:   Wed Sep 2 16:29:24 2020 +0200
Branches: master
https://developer.blender.org/rB279f7ad8ac193bc3a1656e992be23b2c7368b374

Cleanup: Correction to previous cleanup commit

I somehow undid these changes again before committing, sorry for the
noise...

===================================================================

M	source/blender/blenlib/intern/math_vector.c

===================================================================

diff --git a/source/blender/blenlib/intern/math_vector.c b/source/blender/blenlib/intern/math_vector.c
index 4d35f1e34d4..dc6e213d0b5 100644
--- a/source/blender/blenlib/intern/math_vector.c
+++ b/source/blender/blenlib/intern/math_vector.c
@@ -708,12 +708,12 @@ void project_v3_v3v3_normalized(float out[3], const float p[3], const float v_pr
  *
  * Projecting will make \a out a copy of \a p orthogonal to \a v_plane.
  *
- * \note If \a v is exactly perpendicular to \a v_plane, \a c will just be a copy of \a v.
+ * \note If \a p is exactly perpendicular to \a v_plane, \a out will just be a copy of \a p.
  *
  * \note This function is a convenience to call:
  * \code{.c}
- * project_v3_v3v3(c, v, v_plane);
- * sub_v3_v3v3(c, v, c);
+ * project_v3_v3v3(out, p, v_plane);
+ * sub_v3_v3v3(out, p, out);
  * \endcode
  */
 void project_plane_v3_v3v3(float out[3], const float p[3], const float v_plane[3])



More information about the Bf-blender-cvs mailing list