Browse Source

Eigen Alignment issue

https://eigen.tuxfamily.org/dox/group__TopicStructHavingEigenMembers.html
Alec Jacobson 6 năm trước cách đây
mục cha
commit
32910f260e
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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