From 52732d71e72b02ff45e25f44e414f87ec9ab7666 Mon Sep 17 00:00:00 2001 From: Mel Date: Thu, 29 Jun 2023 22:15:32 +0200 Subject: Pretty terrain generation --- src/Math/Trig.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Math/Trig.hpp') diff --git a/src/Math/Trig.hpp b/src/Math/Trig.hpp index c64e2f2..2a415f5 100644 --- a/src/Math/Trig.hpp +++ b/src/Math/Trig.hpp @@ -1,8 +1,8 @@ #pragma once -namespace Math { +#include "Constants.hpp" -constexpr double PI = 3.14159265358979323846; +namespace Math { template T radians(T degrees) { -- cgit 1.4.1