renamed struct

This commit is contained in:
devZoGok
2024-09-05 20:35:09 +03:00
parent 112a73fb8a
commit 8eca2ecc70
3 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ namespace vb01{
void animate(float, KeyframeChannel);
};
struct OldVertex{
struct GpuVertex{
Vector3 pos, norm, tan, biTan;
Vector2 uv;
float weights[4]{0, 0, 0, 0};
@@ -35,7 +35,7 @@ namespace vb01{
Vector3 *shapeKeyOffsets = nullptr;
};
OldVertex* toGlVerts();
GpuVertex* toGpuVerts();
Vector3 *positions = nullptr, *normals = nullptr, **shapeKeyOffsets = nullptr;
float **weights = nullptr;