forked from mirrors/kolyah35-minecraft-pe-0.6.1
ADD: fire (and reduce options writings)
This commit is contained in:
parent
e49f58bc89
commit
ca2af5edb4
4 changed files with 4 additions and 15 deletions
|
|
@ -9,10 +9,10 @@ static Random _rand;
|
|||
|
||||
namespace Mth
|
||||
{
|
||||
const float PI = 3.1415926535897932384626433832795028841971f; // exactly!
|
||||
const float TWO_PI = 2.0f * PI; // exactly!
|
||||
const float DEGRAD = PI / 180.0f;
|
||||
const float RADDEG = 180.0f / PI;
|
||||
constexpr float PI = 3.1415926535897932384626433832795028841971f; // exactly!
|
||||
constexpr float TWO_PI = 2.0f * PI; // exactly!
|
||||
constexpr float DEGRAD = PI / 180.0f;
|
||||
constexpr float RADDEG = 180.0f / PI;
|
||||
|
||||
static float _sin[65536];
|
||||
static const float _sinScale = 65536.0f / (2.0f * PI);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue