Normalized (LogiX node)
Jump to navigation
Jump to search
Normalized | ||
---|---|---|
![]() | ||
Inputs | ||
Float2 | A | |
Outputs | ||
Float2 | * |
The Normalized node outputs a normalized version of the input vector. A normalized vector is a vector that has been divided by its magnitude such that the new vector has a magnitude of 1. Mathematically, this is equal to the input vector divided by the square root of the dot product of the input vector with itself.
Usage
When spawned from the node browser, this node accepts the float2 datatype by default. However, this node can be overloaded to accept different numeric value types if an appropriate wire is connected to an input.
Examples
Passing the vector [2, 2] as an input into the Normalized node would return the vector [1/sqrt(2), 1/sqrt(2)].