11 lines
189 B
C++
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
|