Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
constants.h File Reference

Go to the source code of this file.

Namespaces

namespace  nw4hbm
 
namespace  nw4hbm::math
 
namespace  nw4hbm::math::convert
 

Variables

static f32 const nw4hbm::math::Ln2 = 0.69314718056f
 
static f32 const nw4hbm::math::Pi = 3.141592653589f
 
static f32 const nw4hbm::math::Tau = 2.0f * Pi
 
static f32 const nw4hbm::math::convert::Deg2Rad = Pi / 180.0f
 
static f32 const nw4hbm::math::convert::Deg2FIdx = 256.0f / 360.0f
 
static f32 const nw4hbm::math::convert::FIdx2Deg = 360.0f / 256.0f
 
static f32 const nw4hbm::math::convert::Rad2FIdx = 256.0f / Tau
 
static f32 const nw4hbm::math::convert::FIdx2Rad = Tau / 256.0f