1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:47:35 +00:00

Userland: Move non-standard math constants from math.h

This commit is contained in:
Jean-Baptiste Boric 2021-04-25 21:10:55 +02:00 committed by Linus Groh
parent 9aa44fa36c
commit 7d84f09e7e
5 changed files with 14 additions and 4 deletions

11
AK/ExtraMathConstants.h Normal file
View file

@ -0,0 +1,11 @@
/*
* Copyright (c) 2021, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#define M_TAU 6.28318530717958647692
#define M_DEG2RAD 0.01745329251994329576
#define M_RAD2DEG 57.2957795130823208767