acl/compression/transform_pose_utils.h¶
#include "acl/compression/transform_pose_utils.h"
The functions that convert a pose between local space and object space.
local_to_object_space¶
void local_to_object_space(
const uint32_t* parent_indices,
const rtm::vqvf* local_pose,
uint32_t num_transforms,
rtm::vqvf* out_object_pose)
Note: It is safe for both pose buffers to alias since the data if sorted parent first.
object_to_local_space¶
void object_to_local_space(
const uint32_t* parent_indices,
const rtm::vqvf* object_pose,
uint32_t num_transforms,
rtm::vqvf* out_local_pose)
Note: It is safe for both pose buffers to alias since the data if sorted parent first.