cglm
0.7.6

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
  • View page source

cglm 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 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.

Getting Started:

  • Features
  • Build cglm
    • CMake (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
    • affine transforms
    • affine transform matrix (specialized functions)
    • camera
    • frustum
    • axis aligned bounding box (AABB)
    • quaternions
    • euler angles
    • mat4
    • mat3
    • mat2
    • vec3
    • vec3 extra
    • vec4
    • vec4 extra
    • vec2
    • vec2 extra
    • color
    • plane
    • Project / UnProject
    • utils / helpers
    • io (input / output e.g. print)
    • precompiled functions (call)
    • Sphere
    • Curve
    • Bezier
    • version
    • ray

Options:

  • Options
    • Alignment Option
    • 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 2020, Recep Aslantas

Built with Sphinx using a theme provided by Read the Docs.