Skip to content

Commit

Permalink
Fix: Slightly incorrect value for pi
Browse files Browse the repository at this point in the history
  • Loading branch information
spnda committed Dec 24, 2024
1 parent d0c89e5 commit bea768c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fastgltf/math.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
* The fastgltf::math namespace contains all math functions and types which are needed for working with glTF assets.
*/
namespace fastgltf::math {
FASTGLTF_EXPORT inline constexpr long double pi = 3.141592653589793116;
FASTGLTF_EXPORT inline constexpr long double pi = 3.1415926535897932385;

/** Value clamp using std::less */
FASTGLTF_EXPORT template <typename T>
Expand Down

0 comments on commit bea768c

Please sign in to comment.