Difference between revisions of "Normalized (LogiX node)"
Jump to navigation
Jump to search
DoubleStyx (talk | contribs) (Created page with "<languages></languages> <translate> <!--T:1--> {{Infobox Logix Node | Name = Normalized Float2 | Image =File: Normalized_Float2Node.png | noframe | 128px | 'Normalized Float...") |
DoubleStyx (talk | contribs) m |
||
Line 13: | Line 13: | ||
== Usage == <!--T:3--> | == Usage == <!--T:3--> | ||
+ | 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 == <!--T:4--> | == Examples == <!--T:4--> |
Revision as of 07:56, 26 February 2021
Normalized Float2 | ||
---|---|---|
Inputs | ||
Float2 | A | |
Outputs | ||
Float2 | * |
The Normalized Float2 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.