mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +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 ModelX;
|
||||||
class ShadowVolume;
|
class ShadowVolume;
|
||||||
class VideoTheoraPlayer;
|
class VideoTheoraPlayer;
|
||||||
|
struct SkinWeights {
|
||||||
|
Common::String _boneName;
|
||||||
|
Math::Matrix4 _offsetMatrix;
|
||||||
|
BaseArray<uint32> _vertexIndices;
|
||||||
|
BaseArray<float> _vertexWeights;
|
||||||
|
};
|
||||||
|
|
||||||
class MeshX : public BaseNamedObject {
|
class MeshX : public BaseNamedObject {
|
||||||
public:
|
public:
|
||||||
@ -78,6 +84,7 @@ protected:
|
|||||||
uint32 _indexCount;
|
uint32 _indexCount;
|
||||||
|
|
||||||
BaseArray<Math::Matrix4 *> _boneMatrices;
|
BaseArray<Math::Matrix4 *> _boneMatrices;
|
||||||
|
BaseArray<SkinWeights> skinWeightsList;
|
||||||
|
|
||||||
uint32 *_skinAdjacency;
|
uint32 *_skinAdjacency;
|
||||||
uint32 *_adjacency;
|
uint32 *_adjacency;
|
||||||
|
Loading…
Reference in New Issue
Block a user