diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2022-03-21 00:33:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-20 19:33:29 -0400 |
| commit | 4729ac131a1f3d8ee28f59c41ed8792f51b09040 (patch) | |
| tree | 14f55d8443537046144bdce0614d9ab9d37a5973 /include/libc | |
| parent | c42c172e72451bbaa3401e0331b2fc7c63b93bee (diff) | |
Angle cleanup - `DEG_TO_RAD` (#1157)
* Run formatter
* Touch up angle macros (parentheses and hex constants)
* Remove `DEGF_TO_RADF`, use `DEG_TO_RAD` instead
* Remove `DEGTORAD`, use `DEG_TO_RAD` instead
* Use `DEG_TO_RAD` more
Diffstat (limited to 'include/libc')
| -rw-r--r-- | include/libc/math.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/libc/math.h b/include/libc/math.h index bceffad22..b41cb8e52 100644 --- a/include/libc/math.h +++ b/include/libc/math.h @@ -8,7 +8,6 @@ #define FLT_MAX 340282346638528859811704183484516925440.0f #define SHT_MAX 32767.0f #define SHT_MINV (1.0f / SHT_MAX) -#define DEGTORAD(x) (x * M_PI / 180.0f) typedef union { struct { |
