inline PI for msvc
This commit is contained in:
parent
755befb89d
commit
4b3ca3e673
@ -32,7 +32,7 @@ namespace M {
|
|||||||
}
|
}
|
||||||
|
|
||||||
float radians(float degrees) {
|
float radians(float degrees) {
|
||||||
return degrees * (M_PIf / 180.0f);
|
return degrees * (3.14159265358979323846f / 180.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
V2 V2_(float x, float y) {
|
V2 V2_(float x, float y) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user