Closed GoogleCodeExporter closed 9 years ago
Length() and LengthSquared() perform calculations, which is why they are
methods.
They are also easily called inline with other code, which is why there are no
static
overloads.
Normalize is a special case because it is sometimes desirable to normalize a
vector
without copying a new instance, while at other times you want to use the result
as an
intermediate in a calculation.
These are not inconsistencies, but design choices.
Original comment by Mike.Popoloski
on 24 Mar 2009 at 1:46
Thanks for clearing it up, I understand now.
Original comment by carl.ad...@gmail.com
on 24 Mar 2009 at 2:28
Original issue reported on code.google.com by
carl.ad...@gmail.com
on 24 Mar 2009 at 1:21