Destructor Function. @attemtion Why Destructor causes bug here.
Copy data from MeshOpt Struct.
86 {
88
89 vertexOffset = m.vertex_offset;
90 primitiveOffset = 0;
91 nVertices = m.vertex_count;
92 nPrimitives = m.triangle_count;
93
94 lod = 0;
95
96 boundSphere.c.x = bounds.center[0];
97 boundSphere.c.y = bounds.center[1];
98 boundSphere.c.z = bounds.center[2];
99 boundSphere.r = bounds.radius;
100
101 clusterBoundSphere.c = glm::vec3(0.0f);
102 clusterBoundSphere.r = 0.0f;
103
104 coneApex.x = bounds.cone_apex[0];
105 coneApex.y = bounds.cone_apex[1];
106 coneApex.z = bounds.cone_apex[2];
107
108 coneAxis.x = bounds.cone_axis[0];
109 coneAxis.y = bounds.cone_axis[1];
110 coneAxis.z = bounds.cone_axis[2];
111
112 coneCutoff = bounds.cone_cutoff;
113 }
#define SPICES_PROFILE_ZONE