From d7bf0d5d27e4f032f91c93bdba8db7c9cf24af91 Mon Sep 17 00:00:00 2001 From: Mickey Date: Thu, 11 Nov 2021 19:37:44 +0000 Subject: [PATCH] Issue #26 Initialisation reorder --- CompositeVideo/Mesh.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CompositeVideo/Mesh.h b/CompositeVideo/Mesh.h index ea87f90..330b8fe 100644 --- a/CompositeVideo/Mesh.h +++ b/CompositeVideo/Mesh.h @@ -6,15 +6,15 @@ class Mesh { public: int vertexCount; - int triangleCount; - int edgeCount; const float (*vertices)[3]; + int edgeCount; + const unsigned short (*edges)[2]; + int triangleCount; + const unsigned short (*triangles)[3]; const float (*triangleNormals)[3]; short (*tvertices)[3]; signed char (*tTriNormals)[3]; - const unsigned short (*triangles)[3]; - const unsigned short (*edges)[2]; - + Mesh(int vertCount, const float verts[][3], int edgeCount_ = 0, const unsigned short edges_[][2] = 0, int triCount = 0, const unsigned short tris[][3] = 0, const float triNorms[][3] = 0) :vertexCount(vertCount), vertices(verts),