stub |
Filled in the node page. |
||
Line 14: | Line 14: | ||
|}} | |}} | ||
[[ | The '''Distance''' node takes in 2 values and returns the distance/length between them. | ||
{{Note|This is similar to using the [[ProtoFlux:Sub|Sub]] node, rearranging the inputs so the higher number is our main value to subtract from, then taking the result and removing the sign ([[ProtoFlux:Value Abs|Value Abs]] node). Using distance is easier and does all that calculation for you.|information}} | |||
== Inputs == | |||
=== A (Pseudo-Generic) === | |||
The first value. | |||
=== B (Pseudo-Generic) === | |||
The second value. | |||
== Outputs == | |||
=== * (Pseudo-Generic) === | |||
The distance between 2 values. | |||
[[Category:ProtoFlux:Operators]] | [[Category:ProtoFlux:Operators]] | ||
[[Category:ProtoFlux:Operators:Vectors]] | [[Category:ProtoFlux:Operators:Vectors]] |
Revision as of 12:35, 27 June 2024
Distance
Operators
The Distance node takes in 2 values and returns the distance/length between them.
Inputs
A (Pseudo-Generic)
The first value.
B (Pseudo-Generic)
The second value.
Outputs
* (Pseudo-Generic)
The distance between 2 values.