ProtoFlux:Distance: Difference between revisions

From Resonite Wiki
stub
 
Improve, don't remove.
 
(2 intermediate revisions by 2 users not shown)
Line 14: Line 14:
|}}
|}}


[[Category:ProtoFlux:Stubs]]
The '''Distance''' node returns the [https://en.wikipedia.org/wiki/Euclidean_distance Euclidean distance] between two vectors. This is similar to using  [[ProtoFlux:Sub|Sub]] and [[ProtoFlux:Value Abs|Value Abs]], just in one node.
 
== Inputs ==
 
=== A (Pseudo-Generic) ===
The first vector.
 
=== B (Pseudo-Generic) ===
The second vector.
 
== Outputs ==
 
=== * (Pseudo-Generic) ===
The Euclidean distance between <code>A</code> and <code>B</code>.
 
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators]]
[[Category:ProtoFlux:Operators:Vectors]]
[[Category:ProtoFlux:Operators:Vectors]]

Latest revision as of 10:38, 15 July 2024

Distance
A
*
B
Operators

The Distance node returns the Euclidean distance between two vectors. This is similar to using Sub and Value Abs, just in one node.

Inputs

A (Pseudo-Generic)

The first vector.

B (Pseudo-Generic)

The second vector.

Outputs

* (Pseudo-Generic)

The Euclidean distance between A and B.