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

Go to the source code of this file.

Classes

struct  Z2Calc::FNoise1f
 

Namespaces

namespace  Z2Calc
 

Enumerations

enum  Z2Calc::CurveSign { Z2Calc::CURVE_NEGATIVE = 0 , Z2Calc::CURVE_POSITIVE = 1 , Z2Calc::CURVE_LINEAR = 2 }
 

Functions

f32 Z2Calc::linearTransform (f32 inValue, f32 inMin, f32 inMax, f32 outMin, f32 outMax, bool noClamp)
 
f32 Z2Calc::getParamByExp (f32 value, f32 inMin, f32 inMax, f32 exponent, f32 outMin, f32 outMax, CurveSign curveSign)
 
f32 Z2Calc::getRandom (f32 magnitude, f32 exponent, f32 bias)
 
f32 Z2Calc::getRandom_0_1 ()
 

Variables

static Vec Z2Calc::cNullVec = {0.0f, 0.0f, 0.0f}
 
const f32 Z2Calc::cEqualCSlope = 1.0f
 
const f32 Z2Calc::cEqualPSlope = 0.5f