OpenBF1942-Plus
Refractor 1, rebuilt from scratch
Loading...
Searching...
No Matches
anim.cpp File Reference
#include "anim.h"
#include <cmath>
#include <cstring>
#include <stdexcept>

Namespaces

namespace  obf

Functions

Skeleton obf::ske_parse (const std::vector< uint8_t > &d)
Skin obf::skn_parse (const std::vector< uint8_t > &d)
Animation obf::baf_parse (const std::vector< uint8_t > &d)
std::vector< Mat4 > obf::pose (const Skeleton &s, const std::vector< const Animation * > &anims, float frame, bool biped_root)
std::vector< Mat4 > obf::pose (const Skeleton &s, const std::vector< const Animation * > &anims, const std::vector< float > &frames, bool biped_root)
std::vector< int > obf::bone_index (const Skin &skin, const Skeleton &s)
std::vector< int > obf::skin_map (const Skin &skin, const std::vector< float > &v, size_t fpv)
void obf::skin_apply (const Skin &skin, const std::vector< int > &map, const std::vector< int > &to_ske, const std::vector< Mat4 > &world, const std::vector< float > &v, size_t fpv, std::vector< float > &out)