Эх сурвалжийг харах

Eigen Alignment issue

https://eigen.tuxfamily.org/dox/group__TopicStructHavingEigenMembers.html
Alec Jacobson 6 жил өмнө
parent
commit
32910f260e

+ 3 - 0
include/igl/opengl/ViewerData.h

@@ -205,6 +205,9 @@ public:
     const igl::opengl::ViewerData& data,
     const bool invert_normals,
     igl::opengl::MeshGL& meshgl);
+  
+public:
+  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
 };
 
 } // namespace opengl