Blender Git Loki

Git Commits -> Revision 8a144b7

Revision 8a144b7 by Campbell Barton (master)
April 1, 2021, 10:34 (GMT)
BLI_math: add orthogonalize_m#_zero_axes

Expose a this function to initialize any zeroed axes
to an orthogonal vector based on other non-zeroed axes.

This functionality already existed for `invert_m#_m#_safe_ortho`,
expose as a public function as it's useful to be able to fill in zeroed
axes of transformation matrices since they may be used in matrix
multiplication which would create degenerate matrices.

Commit Details:

Full Hash: 8a144b73c0116a014ed6f081048ffb6b84255d0b
Parent Commit: 3f24cfb
Lines Changed: +88, -66

2 Modified Paths:

/source/blender/blenlib/BLI_math_matrix.h (+3, -0) (Diff)
/source/blender/blenlib/intern/math_matrix.c (+85, -66) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021