|
Monad Engine da02fba2
> Undercity Codex_
|
#include "animation/Pose.h"#include <algorithm>#include <glm/ext/matrix_transform.hpp>#include <glm/gtc/quaternion.hpp>#include <glm/gtc/type_ptr.hpp>#include "animation/Skeleton.h"#include "animation/SkeletalAnimationClip.h"
Include dependency graph for Pose.cpp:Go to the source code of this file.
Namespaces | |
| namespace | mnd |
Functions | |
| void | mnd::ResetPoseToBind (const Skeleton &skeleton, Pose &pose) |
Resize pose buffers to match skeleton and reset to bind pose. | |
| void | mnd::EvaluatePose (const SkeletalAnimationClip &clip, const Skeleton &skeleton, f32 time, Pose &pose) |
Sample clip at time and write each animated bone's TRS into pose.localTransforms. | |
| void | mnd::ComputePalette (const Skeleton &skeleton, Pose &pose) |
| Concatenate parent transforms and apply offsetMatrix to produce the GPU palette. | |