cglm
latest

Getting Started:

  • Features
  • Build cglm
  • Getting Started

How To:

  • How to send vector or matrix to OpenGL like API

API:

  • API documentation

Options:

  • Options

Troubleshooting:

  • Troubleshooting
cglm
  • Docs »
  • cglm Documentation
  • Edit on GitHub

cglm Documentation¶

cglm is an optimized 3D math library written in C99 (compatible with C89). It is similar to the original glm library, except cglm is mainly for C.

cglm stores matrices as column-major order but in the future row-major is considered to be supported as optional.

Getting Started:

  • Features
  • Build cglm
    • CMake (All platforms):
    • Meson (All platforms):
    • Unix (Autotools):
    • Windows (MSBuild):
    • Documentation (Sphinx):
  • Getting Started
    • Types:
    • Alignment Is Required:
    • Allocations:
    • Array vs Struct:
    • Function design:

How To:

  • How to send vector or matrix to OpenGL like API
    • Passing / Uniforming Matrix to OpenGL:
    • Passing / Uniforming Vectors to OpenGL:

API:

  • API documentation
    • 3D Affine Transforms
    • 3D Affine Transform Matrix (specialized functions)
    • 2D Affine Transforms
    • camera
    • frustum
    • axis aligned bounding box (AABB)
    • quaternions
    • euler angles
    • mat2
    • mat3
    • mat4
    • vec2
    • vec2 extra
    • vec3
    • vec3 extra
    • vec4
    • vec4 extra
    • ivec2
    • ivec3
    • ivec4
    • color
    • plane
    • Project / UnProject
    • utils / helpers
    • io (input / output e.g. print)
    • precompiled functions (call)
    • Sphere
    • Curve
    • Bezier
    • version
    • ray

Options:

  • Options
    • Alignment Option
    • Clipspace Option[s]
    • SSE and SSE2 Shuffle Option
    • SSE3 and SSE4 Dot Product Options
    • Print Options

Troubleshooting:

  • Troubleshooting
    • Memory Allocation:
    • Alignment:
    • Crashes, Invalid Memory Access:
    • Wrong Results:
    • BAD_ACCESS : Thread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT) or Similar Errors/Crashes
    • Other Issues?

Indices and Tables:¶

  • Index
  • Module Index
  • Search Page
Next

© Copyright 2017, Recep Aslantas Revision 63990be9.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.