docs: update docs

This commit is contained in:
Recep Aslantas
2018-02-24 00:54:59 +03:00
parent 891148cbe3
commit d95bf60b02
3 changed files with 8 additions and 2 deletions

BIN
docs/source/cglm-intro.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -1,5 +1,9 @@
Getting Started
================================
.. image:: cglm-intro.png
:width: 492px
:height: 297px
:align: center
**cglm** uses **glm** prefix for all functions e.g. glm_lookat. You can see supported types in common header file:

View File

@@ -9,7 +9,7 @@ Welcome to cglm's documentation!
**cglm** is optimized 3D math library written in C99 (compatible with C89).
It is similar to original **glm** library except this is mainly for **C**
This library stores matrices as row-major order but in the future column-major
This library stores matrices as column-major order but in the future row-major
is considered to be supported as optional.
Also currently only **float** type is supported for most operations.
@@ -28,7 +28,9 @@ Also currently only **float** type is supported for most operations.
* euler angles / yaw-pitch-roll to matrix
* extract euler angles
* inline or pre-compiled function call
* more features (todo)
* frustum (extract view frustum planes, corners...)
* bounding box (AABB in Frustum (culling), crop, merge...)
.. toctree::
:maxdepth: 2