From e65ccb21f9006eb40a59ac006a363f14a245b08e Mon Sep 17 00:00:00 2001 From: AdamPorcineFudgepuppy <> Date: Sun, 7 Jul 2024 20:12:46 -0500 Subject: [PATCH] std::atanhf --- src/complex/ComplexWidgets.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/complex/ComplexWidgets.hpp b/src/complex/ComplexWidgets.hpp index 2f46012..79d5515 100644 --- a/src/complex/ComplexWidgets.hpp +++ b/src/complex/ComplexWidgets.hpp @@ -145,7 +145,7 @@ namespace cpx { float length=newZ.norm(); - Vec tip = newZ.normalize().mult(2*fullR/M_PI*std::atanf(length)); + Vec tip = newZ.normalize().mult(2*fullR/M_PI*std::atanhf(length)); drawArrowTo(args.vg,tip,box.size.x/7); nvgRestore(args.vg);