Fix linux compilation

This commit is contained in:
Romain Janvier
2024-09-29 10:27:39 +02:00
parent 971ccdde99
commit 9a5ef82e56
4 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ ccBox* qVoxFallTransform::CreateVoxelMesh(CCVector3 V, float voxelSize, int voxe
const Vector3Tpl<float> X(1, 0, 0);
const Vector3Tpl<float> Y(0, 1, 0);
const Vector3Tpl<float> Z(0, 0, 1);
ccGLMatrix* matrix = &ccGLMatrix::ccGLMatrix(X, Y, Z, V);
ccGLMatrix* matrix = new ccGLMatrix(X, Y, Z, V);
ccBox* voxel = new ccBox(dims, matrix, name);
voxel->computePerTriangleNormals();