mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-27 19:35:24 +01:00
Refactor skinned mesh weight data structure (#16655)
This commit is contained in:
@@ -7,7 +7,10 @@
|
||||
#include "IMeshBuffer.h"
|
||||
#include "CVertexBuffer.h"
|
||||
#include "CIndexBuffer.h"
|
||||
#include "WeightBuffer.h"
|
||||
#include "IVertexBuffer.h"
|
||||
#include "S3DVertex.h"
|
||||
#include "vector3d.h"
|
||||
#include <cassert>
|
||||
|
||||
namespace scene
|
||||
@@ -222,6 +225,8 @@ public:
|
||||
SVertexBuffer *Vertices_Standard;
|
||||
SIndexBuffer *Indices;
|
||||
|
||||
std::optional<WeightBuffer> Weights;
|
||||
|
||||
core::matrix4 Transformation;
|
||||
|
||||
video::SMaterial Material;
|
||||
|
||||
Reference in New Issue
Block a user