cpp_drawing/math/constants.hpp
2025-09-26 18:39:24 +02:00

11 lines
189 B
C++

#pragma once
namespace math
{
constexpr float PI = 3.14159265358979323846f;
constexpr float DEG_TO_RAD = PI / 180.0f;
constexpr float RAD_TO_DEG = 1.0f / DEG_TO_RAD;
} // namespace math