papermario
Decompilation of Paper Mario
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
IntroMathUtil.inc.c File Reference

Enumerations

enum  {
  INTRO_MATH_EASING_LINEAR = 0 , INTRO_MATH_EASING_SIN_OUT = 1 , INTRO_MATH_EASING_SIN_OUT_DELAYED = 2 , INTRO_MATH_EASING_COS_IN_OUT = 3 ,
  INTRO_MATH_EASING_4 = 4
}
 

Functions

void N lerp_value_with_max_step (f32 start, f32 end, f32 current, f32 maximum, f32 *out)
 
void N interp_value_with_easing (s32 easingMode, f32 start, f32 end, f32 curent, f32 max, f32 *out)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
INTRO_MATH_EASING_LINEAR 
INTRO_MATH_EASING_SIN_OUT 
INTRO_MATH_EASING_SIN_OUT_DELAYED 
INTRO_MATH_EASING_COS_IN_OUT 
INTRO_MATH_EASING_4 

Function Documentation

◆ interp_value_with_easing()

void N interp_value_with_easing ( s32 easingMode,
f32 start,
f32 end,
f32 curent,
f32 max,
f32 * out )

◆ lerp_value_with_max_step()

void N lerp_value_with_max_step ( f32 start,
f32 end,
f32 current,
f32 maximum,
f32 * out )