소스 검색

bug fix

Former-commit-id: 83e7e4900241b1f8766811419d9711805afffaaf
whitinge 11 년 전
부모
커밋
f733e02c0a
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      include/igl/draw_beach_ball.h

+ 4 - 3
include/igl/draw_beach_ball.h

@@ -16,10 +16,11 @@ namespace igl
   // according to the current orientation: ball has radius 0.75 and axis have
   // length 1.15
   IGL_INLINE void draw_beach_ball();
-  #ifdef IGL_HEADER
-  #  include "draw_beach_ball.cpp"
-  #endif
 }
 
+#ifdef IGL_HEADER_ONLY
+#  include "draw_beach_ball.cpp"
+#endif
+
 #endif
 #endif