glm
« Back to VersTracker
Description:
C++ mathematics library for graphics software
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ mathematics graphics opengl header-only
Install: brew install glm
About:
GLM (OpenGL Mathematics) is a C++ mathematics library designed specifically for graphics software based on the GLSL specifications. It provides types and functions for vector, matrix, and quaternion operations, enabling high-performance linear algebra tasks essential for 3D rendering and simulation without external dependencies.
Key Features:
  • Header-only C++ library with no external dependencies
  • Provides vector, matrix, and quaternion types matching GLSL syntax
  • Optimized for graphics applications with SIMD support
Use Cases:
  • Implementing 3D graphics transformations in C++ applications
  • Developing game engines or real-time rendering systems
  • Performing linear algebra operations for computer vision
Alternatives:
  • Eigen – Eigen is a general-purpose linear algebra library, whereas GLM is specialized for graphics with GLSL-like syntax.
  • DirectXMath – DirectXMath is optimized for DirectX on Windows, while GLM is cross-platform and OpenGL-oriented.
Version History
Detected Version Rev Change Commit
Sep 10, 2025 10:44pm 0 VERSION_BUMP 3e5b6bef
Oct 27, 2024 3:46pm 0 VERSION_BUMP 9af6157d