Browse Source

Eigen Alignment issue

https://eigen.tuxfamily.org/dox/group__TopicStructHavingEigenMembers.html
Alec Jacobson 6 years ago
parent
commit
32910f260e
1 changed files with 3 additions and 0 deletions
  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