New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
JointBlendModelCalcRatio Class Reference

#include <JointBlendModelCalcRatio.h>

Public Member Functions

 JointBlendModelCalcRatio ()
void set (f32 duration)
void reset ()
void calc ()
f32 ratioA () const
f32 ratioB () const
bool isActive () const

Private Member Functions

void reset_ ()

Static Private Member Functions

static bool isZero_ (f32 v)

Private Attributes

f32 mRatioA
f32 mRatioB
f32 mCounter
f32 mInvDuration
bool mIsActive

Constructor & Destructor Documentation

◆ JointBlendModelCalcRatio()

JointBlendModelCalcRatio::JointBlendModelCalcRatio ( )

Member Function Documentation

◆ set()

void JointBlendModelCalcRatio::set ( f32 duration)

◆ reset()

void JointBlendModelCalcRatio::reset ( )

◆ calc()

void JointBlendModelCalcRatio::calc ( )

◆ ratioA()

f32 JointBlendModelCalcRatio::ratioA ( ) const
inline

◆ ratioB()

f32 JointBlendModelCalcRatio::ratioB ( ) const
inline

◆ isActive()

bool JointBlendModelCalcRatio::isActive ( ) const
inline

◆ reset_()

void JointBlendModelCalcRatio::reset_ ( )
private

◆ isZero_()

bool JointBlendModelCalcRatio::isZero_ ( f32 v)
staticprivate

Member Data Documentation

◆ mRatioA

f32 JointBlendModelCalcRatio::mRatioA
private

◆ mRatioB

f32 JointBlendModelCalcRatio::mRatioB
private

◆ mCounter

f32 JointBlendModelCalcRatio::mCounter
private

◆ mInvDuration

f32 JointBlendModelCalcRatio::mInvDuration
private

◆ mIsActive

bool JointBlendModelCalcRatio::mIsActive
private