From 736e6869ab721e493bc6b2bc290e5b0becfff575 Mon Sep 17 00:00:00 2001 From: Alexey Knyazev <3479527+lexaknyazev@users.noreply.github.com> Date: Mon, 6 Nov 2023 00:00:00 +0000 Subject: [PATCH] Add special float constants --- .../Khronos/KHR_interactivity/Specification.adoc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/extensions/2.0/Khronos/KHR_interactivity/Specification.adoc b/extensions/2.0/Khronos/KHR_interactivity/Specification.adoc index 434ab10556..a9db9fda9a 100644 --- a/extensions/2.0/Khronos/KHR_interactivity/Specification.adoc +++ b/extensions/2.0/Khronos/KHR_interactivity/Specification.adoc @@ -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.