瀏覽代碼

Eigen Alignment issue

https://eigen.tuxfamily.org/dox/group__TopicStructHavingEigenMembers.html
Alec Jacobson 6 年之前
父節點
當前提交
32910f260e
共有 1 個文件被更改,包括 3 次插入0 次删除
  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