|
Foundation
|
Reusable per-instance evaluation scratch for one skeleton (allocate once, reuse per frame). More...
#include <Animation.hpp>
Public Member Functions | |
| FPose (Allocator *alloc=GLOBAL_ALLOC) | |
| void | Resize (uint32_t jointCount) |
Public Attributes | |
| Vector< float3 > | translations |
| Vector< quat > | rotations |
| Vector< float3 > | scales |
| Vector< mat4 > | globals |
Reusable per-instance evaluation scratch for one skeleton (allocate once, reuse per frame).
Holds the working local TRS (seeded from rest, overwritten by a clip) and the resulting world matrices. globals is the shared output: skinning consumes it via ComputeSkinningMatrices, rigid articulation reads it directly.
|
inlineexplicit |
| void FPose::Resize | ( | uint32_t | jointCount | ) |
| Vector<mat4> FPose::globals |
| Vector<quat> FPose::rotations |