From 36b44583ff4418b64df67b5e02c3447dff6c28af Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 18 Jan 2023 08:34:31 -0500 Subject: [PATCH] spelling: calculate Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/8.guest/2020/oit/composite.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/8.guest/2020/oit/composite.fs b/src/8.guest/2020/oit/composite.fs index ab1c21f..ad6c655 100644 --- a/src/8.guest/2020/oit/composite.fs +++ b/src/8.guest/2020/oit/composite.fs @@ -12,7 +12,7 @@ layout (binding = 1) uniform sampler2D reveal; // epsilon number const float EPSILON = 0.00001f; -// caluclate floating point numbers equality accurately +// calculate floating point numbers equality accurately bool isApproximatelyEqual(float a, float b) { return abs(a - b) <= (abs(a) < abs(b) ? abs(b) : abs(a)) * EPSILON;