« Previous | Next » 

Revision 3cae40b9

ID3cae40b93cf326d70f2d92b9972136e90f0a76db
Parent 3e12eaa8
Child b5582106

Added by Gé Vissers about 8 years ago

It makes no sense to return 0 for the vector norm when the vector contains
NaNs. Just return NaN instead, Furthermore don't refuse to normalize vectors
when the length is small. Unless the length really is zero, it should be safe
to scale with the inverse length.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences