Stack Explorer

GLM

Utility

Mathematics library for graphics based on GLSL

→ Stable

Features

mathgraphicsopenglheader-only

Pros and Cons

Ventajas

  • + API identical to GLSL
  • + Header-only (easy integration)
  • + Extensive math functionality
  • + Used with OpenGL, Vulkan, DirectX
  • + Well documented

Desventajas

  • - Not SIMD optimized by default
  • - Can be slower than Eigen for heavy algebra
  • - Graphics only (not general purpose)

Use Cases

  • Game development with OpenGL/Vulkan
  • 3D graphics and rendering
  • Camera transformations
  • Simple physics simulations
  • Shaders and visual effects

Tecnologías Relacionadas

Alternatives

Related