Stub, also funky ui |
Filled in this node page. |
||
Line 4: | Line 4: | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
{"Type":"Dummy"}, | {"Name":"A", "Type":"Dummy"}, | ||
{"Type":"Dummy"} | {"Name":"B", "Type":"Dummy"} | ||
] | ] | ||
|Outputs= | |Outputs= | ||
[ | [ | ||
{"Type":"float"} | {"Name":"*", "Type":"float"} | ||
] | ] | ||
|}} | |}} | ||
[[ | The '''Angle''' node takes in 2 vectors and returns the difference between the 2 provided vectors using angles in degrees. The vectors you provide are normalized (but not clamped), which means each value will be between <code>-1</code> and <code>1</code> (and resulting degrees of <code>0</code> and <code>180</code> respectively), and another way to think about this is these values "point" in a direction. | ||
== Inputs == | |||
=== A (Pseudo-Generic) === | |||
The first provided vector. | |||
=== B (Pseudo-Generic) === | |||
The second provided vector. | |||
== Outputs == | |||
=== * ([[Type:float|float]]) === | |||
Returns the difference between the 2 provided vectors using angles in degrees. | |||
[[Category:ProtoFlux:Operators:Vectors]] | [[Category:ProtoFlux:Operators:Vectors]] |
Revision as of 20:32, 27 June 2024
°
(angle)
Operators
The Angle node takes in 2 vectors and returns the difference between the 2 provided vectors using angles in degrees. The vectors you provide are normalized (but not clamped), which means each value will be between -1
and 1
(and resulting degrees of 0
and 180
respectively), and another way to think about this is these values "point" in a direction.
Inputs
A (Pseudo-Generic)
The first provided vector.
B (Pseudo-Generic)
The second provided vector.
Outputs
* (float)
Returns the difference between the 2 provided vectors using angles in degrees.