1 #ifndef __Skinning_hpp__
2 #define __Skinning_hpp__
64 template<
class Archive>
void serialize(Archive& archive, nv::vec2f& v)
69 template<
class Archive>
void serialize(Archive& archive, nv::vec3f& v)
71 archive(v.x, v.y, v.z);
74 template<
class Archive>
void serialize(Archive& archive, nv::vec4f& v)
76 archive(v.x, v.y, v.z, v.w);
79 template<
class Archive>
void serialize(Archive& archive, nv::matrix4f& v)
81 archive(v._11, v._12, v._13, v._14,
82 v._21, v._22, v._23, v._24,
83 v._31, v._32, v._33, v._34,
84 v._41, v._42, v._43, v._44);
nv::matrix4f offset
Definition: Skinning.hpp:47
nv::vec2f uv
Definition: Skinning.hpp:14
nv::vec4f bones
Definition: Skinning.hpp:13
std::vector< Vertex > vertices
Definition: Skinning.hpp:19
std::vector< AnimationKey > translationKeys
Definition: Skinning.hpp:32
float time
Definition: Skinning.hpp:27
Definition: Skinning.hpp:45
std::vector< NodeAnimation > nodeAnimations
Definition: Skinning.hpp:53
nv::vec4f value
Definition: Skinning.hpp:26
Definition: Skinning.hpp:17
std::vector< ModelNode > modelNodes
Definition: Skinning.hpp:54
nv::matrix4f defaultTransform
Definition: Skinning.hpp:40
int boneIdx
Definition: Skinning.hpp:42
std::vector< Mesh > meshes
Definition: Skinning.hpp:52
Definition: Skinning.hpp:30
std::string albedoTextureFilename
Definition: Skinning.hpp:21
Definition: Skinning.hpp:9
nv::vec3f position
Definition: Skinning.hpp:11
std::vector< int > childrenIndices
Definition: Skinning.hpp:39
nv::vec3f normal
Definition: Skinning.hpp:12
std::vector< AnimationKey > rotationKeys
Definition: Skinning.hpp:33
std::vector< Bone > bones
Definition: Skinning.hpp:55
std::vector< unsigned short > indices
Definition: Skinning.hpp:20
int nodeAnimationIdx
Definition: Skinning.hpp:41
Definition: Skinning.hpp:50
void serialize(Archive &archive, nv::vec2f &v)
Definition: Skinning.hpp:64
Definition: Skinning.hpp:36
Definition: Skinning.hpp:24
std::string name
Definition: Skinning.hpp:38