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

Classes

struct  FNoise1f
 

Enumerations

enum  CurveSign { CURVE_SIGN_0 = 0 , CURVE_SIGN_1 = 1 , CURVE_SIGN_2 = 2 }
 

Functions

float linearTransform (float, float, float, float, float, bool)
 
float getParamByExp (float, float, float, float, float, float, Z2Calc::CurveSign)
 
float getRandom (float, float, float)
 
float getRandom_0_1 (void)
 

Variables

f32 cEqualCSlope = 1.0f
 
f32 cEqualPSlope = 0.5f
 

Enumeration Type Documentation

◆ CurveSign

Enumerator
CURVE_SIGN_0 
CURVE_SIGN_1 
CURVE_SIGN_2 

Function Documentation

◆ getParamByExp()

f32 Z2Calc::getParamByExp ( float  f1,
float  f2,
float  f3,
float  f4,
float  f5,
float  f6,
Z2Calc::CurveSign  sign 
)

◆ getRandom()

f32 Z2Calc::getRandom ( float  f1,
float  f2,
float  f3 
)

◆ getRandom_0_1()

f32 Z2Calc::getRandom_0_1 ( void  )

◆ linearTransform()

f32 Z2Calc::linearTransform ( float  param1,
float  param2,
float  param3,
float  param4,
float  param5,
bool  param6 
)

Variable Documentation

◆ cEqualCSlope

SECTION_SDATA2 f32 Z2Calc::cEqualCSlope = 1.0f
extern

◆ cEqualPSlope

SECTION_SDATA2 f32 Z2Calc::cEqualPSlope = 0.5f
extern