draw_beach_ball.h 757 B

12345678910111213141516171819202122232425
  1. // This file is part of libigl, a simple c++ geometry processing library.
  2. //
  3. // Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
  4. //
  5. // This Source Code Form is subject to the terms of the Mozilla Public License
  6. // v. 2.0. If a copy of the MPL was not distributed with this file, You can
  7. // obtain one at http://mozilla.org/MPL/2.0/.
  8. #ifndef IGL_DRAW_BEACH_BALL_H
  9. #define IGL_DRAW_BEACH_BALL_H
  10. #ifndef IGL_NO_OPENGL
  11. #include "igl_inline.h"
  12. namespace igl
  13. {
  14. // Draw a beach ball icon/glyph (from AntTweakBar) at the current origin
  15. // according to the current orientation: ball has radius 0.75 and axis have
  16. // length 1.15
  17. IGL_INLINE void draw_beach_ball();
  18. #ifdef IGL_HEADER
  19. # include "draw_beach_ball.cpp"
  20. #endif
  21. }
  22. #endif
  23. #endif