Length Squared Node
Description
Outputs the squared length of the input vector. This method is much faster than Length — the calculation is basically the same only without the slow Sqrt call. If you are using lengths simply to compare distances, then it is faster to compare squared lengths against the squares of distances as the comparison gives the same result.
The information on this page is valid for UNIGINE 2.19.1 SDK.
Last update:
2024-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)