plane.rst 734 B

123456789101112131415161718192021222324252627282930313233
  1. .. default-domain:: C
  2. plane
  3. ================================================================================
  4. Header: cglm/plane.h
  5. Plane extract functions are in frustum header and documented
  6. in :doc:`frustum` page.
  7. **Definition of plane:**
  8. Plane equation: **Ax + By + Cz + D = 0**
  9. Plan is stored in **vec4** as **[A, B, C, D]**. (A, B, C) is normal and D is distance
  10. Table of contents (click to go):
  11. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  12. Functions:
  13. 1. :c:func:`glm_plane_normalize`
  14. Functions documentation
  15. ~~~~~~~~~~~~~~~~~~~~~~~
  16. .. c:function:: void glm_plane_normalize(vec4 plane)
  17. | normalizes a plane
  18. Parameters:
  19. | *[in, out]* **plane** pnale to normalize