From b489705b25bb3967e04f7099cb21797783ccf7c0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 13 Dec 2021 01:09:53 -0800 Subject: Minor UHJ coefficient scaling precision improvement --- core/ambidefs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/ambidefs.h') diff --git a/core/ambidefs.h b/core/ambidefs.h index 3339c28f..82a1a4e5 100644 --- a/core/ambidefs.h +++ b/core/ambidefs.h @@ -101,9 +101,9 @@ struct AmbiScale { { static constexpr const std::array ret{{ 1.000000000f, /* ACN 0 (W), sqrt(1) */ - 1.224744916f, /* ACN 1 (Y), sqrt(3/2) */ - 1.224744916f, /* ACN 2 (Z), sqrt(3/2) */ - 1.224744916f, /* ACN 3 (X), sqrt(3/2) */ + 1.224744871f, /* ACN 1 (Y), sqrt(3/2) */ + 1.224744871f, /* ACN 2 (Z), sqrt(3/2) */ + 1.224744871f, /* ACN 3 (X), sqrt(3/2) */ /* Higher orders not relevant for UHJ. */ 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, }}; -- cgit v1.2.3