mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 04:28:37 +00:00
WINTERMUTE: Add skin weights to mesh
This commit is contained in:
parent
bdf862fc62
commit
06c0a65644
@ -43,6 +43,12 @@ class Material;
|
||||
class ModelX;
|
||||
class ShadowVolume;
|
||||
class VideoTheoraPlayer;
|
||||
struct SkinWeights {
|
||||
Common::String _boneName;
|
||||
Math::Matrix4 _offsetMatrix;
|
||||
BaseArray<uint32> _vertexIndices;
|
||||
BaseArray<float> _vertexWeights;
|
||||
};
|
||||
|
||||
class MeshX : public BaseNamedObject {
|
||||
public:
|
||||
@ -78,6 +84,7 @@ protected:
|
||||
uint32 _indexCount;
|
||||
|
||||
BaseArray<Math::Matrix4 *> _boneMatrices;
|
||||
BaseArray<SkinWeights> skinWeightsList;
|
||||
|
||||
uint32 *_skinAdjacency;
|
||||
uint32 *_adjacency;
|
||||
|
Loading…
Reference in New Issue
Block a user