Skip to content

Commit

Permalink
Add special float constants
Browse files Browse the repository at this point in the history
  • Loading branch information
lexaknyazev committed Nov 6, 2023
1 parent 47c12fa commit 736e686
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions extensions/2.0/Khronos/KHR_interactivity/Specification.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,22 @@ In this section, `floatN` is a placeholder for any of `float`, `float2`, `float3
| Output value sockets | `float value` | 3.141592653589793
|===

===== Infinity

[cols="1h,1,2"]
|===
| Type | `math/inf` | Positive infinity
| Output value sockets | `float value` | _Infinity_
|===

===== Not a Number

[cols="1h,1,2"]
|===
| Type | `math/nan` | Not a Number
| Output value sockets | `float value` | _NaN_
|===

==== Arithmetic Nodes

These all operate component-wise. The description is per component.
Expand Down

0 comments on commit 736e686

Please sign in to comment.