1
0
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:
Lars Müller
2025-11-23 21:17:58 +01:00
committed by GitHub
parent 05f161cf9c
commit e7f305fedd
17 changed files with 584 additions and 623 deletions

View File

@@ -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;