Merged requested to merge add-vector3-getNormalizedIfNotZero into master
The name of the function
src/core/math/Vector3.h is somewhat misleading. One might naively expect that the returned
Vector3 is either normalized or exactly zero.
However, if its length is found to be too small, the function actually returns the original
Vector3, the components of which must not be exactly zero.
This merge request renames the above function and all its occurrences to
getNormalizedIfNotZero(). It additionally adds the function
getNormalizedOrZero() that actually returns a zero-
Vector3 when the original vector's length is too small.