载入中...
搜索中...
未找到
AnimMath.h 文件参考
#include <cmath>
#include <algorithm>

浏览源代码.

struct  eve::animation::TransformTRS
 Local TRS used by skeletal animation (quaternion xyzw). 更多...
 
struct  eve::animation::Mat4
 Column-major 4x4 matrix (OpenGL / glTF / Assimp-compatible layout). Elements: m[col * 4 + row]. 更多...
 

命名空间

namespace  eve
 
namespace  eve::animation
 

函数

float eve::animation::clampf (float v, float lo, float hi)
 
float eve::animation::lerpf (float a, float b, float t)
 
void eve::animation::slerpQuat (float ax, float ay, float az, float aw, float bx, float by, float bz, float bw, float t, float &ox, float &oy, float &oz, float &ow)
 
TransformTRS eve::animation::blendTRS (const TransformTRS &a, const TransformTRS &b, float t)
 
void eve::animation::yawToForward (float yaw, float &fx, float &fz)
 Rotate unit +Z by yaw (radians) around Y — used for planar facing.
 
float eve::animation::length2 (float x, float z)