Răsfoiți Sursa

bug fix

Former-commit-id: 83e7e4900241b1f8766811419d9711805afffaaf
whitinge 11 ani în urmă
părinte
comite
f733e02c0a
1 a modificat fișierele cu 4 adăugiri și 3 ștergeri
  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