15 lines
594 B
C
15 lines
594 B
C
#pragma once
|
|
|
|
#include "idlib/math/vector.h"
|
|
|
|
float LerpToWithScale(float current, float destination, float scale);
|
|
float LerpToWithRate(float current, float destination, float absoluteRate);
|
|
|
|
bool UpdateWalkBlend(const idVec3& velocity, const idMat3& axis,
|
|
float lerpScale, float& blendBack, float& blendRight, float& blendAngle,
|
|
float& sync8Index1, float& sync8Index2, float& sync8BlendAngle);
|
|
|
|
bool UpdateWalkBlendFromAngle(float angle, float lerpScale,
|
|
float& blendBack, float& blendRight, float& blendAngle,
|
|
float& sync8Index1, float& sync8Index2, float& sync8BlendAngle);
|