Explorar o código

Eigen Alignment issue

https://eigen.tuxfamily.org/dox/group__TopicStructHavingEigenMembers.html
Alec Jacobson %!s(int64=6) %!d(string=hai) anos
pai
achega
32910f260e
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      include/igl/opengl/ViewerData.h

+ 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