Make pi/tau variables inline

This commit is contained in:
Jonny Paton 2025-01-03 15:21:21 +00:00 committed by Chris Thrasher
parent 74a460206c
commit d4ff27caad

View File

@ -34,8 +34,8 @@ namespace sf
{ {
namespace priv namespace priv
{ {
constexpr float pi = 3.141592654f; inline constexpr float pi = 3.141592654f;
constexpr float tau = pi * 2.f; inline constexpr float tau = pi * 2.f;
constexpr float positiveRemainder(float a, float b) constexpr float positiveRemainder(float a, float b)
{ {