OpenBF1942-Plus
Refractor 1, rebuilt from scratch
Loading...
Searching...
No Matches
anim.h File Reference
#include <cstdint>
#include <string>
#include <unordered_map>
#include <vector>
#include "mat.h"

Go to the source code of this file.

Classes

struct  obf::Bone
struct  obf::SkinInfluence
struct  obf::SkinRecord
struct  obf::Skin
struct  obf::Animation

Namespaces

namespace  obf

Typedefs

using obf::Skeleton = std::vector<Bone>

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::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)
std::vector< int > obf::bone_index (const Skin &skin, const Skeleton &s)