group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
FbxImportUtils.cpp File Reference

Implementation of Assimp ↔ ozz ↔ GLM conversion helpers. More...

#include "FbxImportUtils.hpp"
#include <glm/gtc/type_ptr.hpp>
Include dependency graph for FbxImportUtils.cpp:

Namespaces

namespace  anim_utils

Functions

glm::mat4 anim_utils::ozzToGlm (const ozz::math::Float4x4 &m)
 Convert an ozz SIMD 4x4 matrix to a GLM column-major mat4.
glm::mat4 anim_utils::aiToGlm (const aiMatrix4x4 &m)
 Convert an Assimp row-major 4x4 matrix to GLM column-major.
bool anim_utils::buildJoint (const aiNode *node, const std::unordered_set< std::string > &boneNames, ozz::animation::offline::RawSkeleton::Joint &outJoint, std::unordered_map< std::string, JointRestPose > &restPoses)
 Recursively build a RawSkeleton joint tree from the Assimp node hierarchy.

Detailed Description

Implementation of Assimp ↔ ozz ↔ GLM conversion helpers.