index.rst 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. .. cglm documentation master file, created by
  2. sphinx-quickstart on Tue Jun 6 20:31:05 2017.
  3. You can adapt this file completely to your liking, but it should at least
  4. contain the root `toctree` directive.
  5. Welcome to cglm's documentation!
  6. ================================
  7. **cglm** is optimized 3D math library written in C99 (compatible with C89).
  8. It is similar to original **glm** library except this is mainly for **C**
  9. This library stores matrices as column-major order but in the future row-major
  10. is considered to be supported as optional.
  11. Also currently only **float** type is supported for most operations.
  12. **Features**
  13. * general purpose matrix operations (mat4, mat3)
  14. * chain matrix multiplication (square only)
  15. * general purpose vector operations (cross, dot, rotate, proj, angle...)
  16. * affine transforms
  17. * matrix decomposition (extract rotation, scaling factor)
  18. * optimized affine transform matrices (mul, rigid-body inverse)
  19. * camera (lookat)
  20. * projections (ortho, perspective)
  21. * quaternions
  22. * euler angles / yaw-pitch-roll to matrix
  23. * extract euler angles
  24. * inline or pre-compiled function call
  25. * frustum (extract view frustum planes, corners...)
  26. * bounding box (AABB in Frustum (culling), crop, merge...)
  27. .. toctree::
  28. :maxdepth: 1
  29. :caption: Table Of Contents:
  30. build
  31. getting_started
  32. opengl
  33. api
  34. Indices and tables
  35. ==================
  36. * :ref:`genindex`
  37. * :ref:`modindex`
  38. * :ref:`search`