载入中...
搜索中...
未找到
#include "animation/MotionTypes.h"#include "common/Diagnostic.h"#include "common/Exception.h"#include <algorithm>#include <cmath>#include <cstdint>#include <cstring>命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::animation |
宏定义 | |
| #define | M_PI 3.14159265358979323846 |
函数 | |
| float | eve::animation::evaluateMotionEase (float t, const char *kind) |
| Evaluate an ease curve; kinds match Math.ease / Tween. | |
| float | eve::animation::evaluateMotionOscillation (float t, int frequency, float dampingRatio) |
| LitMotion-style damped sine envelope in [0,1] progress. | |
| float | eve::animation::evaluateMotionShakeSign (std::uint32_t seed, int frequency, float t, int axis) |
| Deterministic shake sign in [-1,1] for axis (0..n). | |
| MotionColor | eve::animation::lerpMotionColor (MotionColor a, MotionColor b, float t) |
| Component-wise lerp for MotionColor. | |
| MotionQuat | eve::animation::slerpMotionQuat (MotionQuat a, MotionQuat b, float t) |
| Spherical linear interpolation for MotionQuat (shortest path). | |
宏定义说明
◆ M_PI
| #define M_PI 3.14159265358979323846 |
在文件 MotionTypes.cpp 第 12 行定义.