Skip to content

Commit

Permalink
Clarify descriptions of math/clamp and math/saturate
Browse files Browse the repository at this point in the history
  • Loading branch information
lexaknyazev committed Feb 10, 2025
1 parent 82bae09 commit 8fb8578
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion extensions/2.0/Khronos/KHR_interactivity/Specification.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ Math.max(a, b)
| `floatN value` | latexmath:[\min(\max(a, \min(b, c)), \max(b, c))]
|===

This node relies on `math/min` and `math/max` nodes defined above.
This node is defined in terms of `math/min` and `math/max` nodes defined above.

[NOTE]
.Authoring Note
Expand All @@ -761,6 +761,8 @@ This operation correctly handles a case when stem:[b] is greater than stem:[c].
| `floatN value` | latexmath:[\min(\max(a, 0), 1)]
|===

This node is defined in terms of `math/min` and `math/max` nodes defined above.

===== Interpolate

[cols="1h,1,2"]
Expand Down Expand Up @@ -1969,6 +1971,8 @@ This is implementable in ECMAScript via the following expression:
| `int value` | latexmath:[\min(\max(a, \min(b, c)), \max(b, c))]
|===

This node is defined in terms of `math/min` and `math/max` nodes defined above.

[NOTE]
.Authoring Note
====
Expand Down

0 comments on commit 8fb8578

Please sign in to comment.