File: plane.rst

package info (click to toggle)
cglm 0.9.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,332 kB
  • sloc: ansic: 36,253; makefile: 289; python: 51; sh: 10
file content (33 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.. default-domain:: C

plane
================================================================================

Header: cglm/plane.h

Plane extract functions are in frustum header and documented
in :doc:`frustum` page.

**Definition of plane:**

Plane equation:  **Ax + By + Cz + D = 0**

Plan is stored in **vec4** as **[A, B, C, D]**. (A, B, C) is normal and D is distance

Table of contents (click to go):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Functions:

1. :c:func:`glm_plane_normalize`


Functions documentation
~~~~~~~~~~~~~~~~~~~~~~~

.. c:function:: void  glm_plane_normalize(vec4 plane)

    | normalizes a plane

    Parameters:
      | *[in, out]*  **plane**  pnale to normalize