Skip to main content

OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specifications. GLM provides classes and functions designed and implemented with the same naming conventions and functionalities than GLSL so that anyone who knows GLSL, can use GLM as well in C++. This project isn't limited to GLSL features. An extension system, based on the GLSL extension conventions, provides extended capabilities: matrix transformations, quaternions, data packing, random numbers, noise, etc... This library works perfectly with OpenGL but it also ensures interoperability with other third party libraries and SDK. It is a good candidate for software rendering (raytracing / rasterisation), image processing, physic simulations and any development context that requires a simple and convenient mathematics library. GLM is written in C++98 but can take advantage of C++11 when supported by the compiler. It is a platform independent library with no dependence and it officially supports the following compilers: - Apple Clang 4.0 and higher - GCC 4.2 and higher - Intel C++ Composer XE 2013 and higher - LLVM 3.0 and higher - Visual C++ 2010 and higher - CUDA 4.0 and higher (experimental) - Any conform C++98 or C++11 compiler Note: The last number of the version number differs in that respect, that the official fourth number is multiplied to 100. This way the nuget package can be updated for different packages. For example: - glm 0.9.9.1 => package 0.9.9.100 (first package) - glm 0.9.9.1 => package 0.9.9.101 (same content, but package updated, e.g. build scripts) - glm 0.9.9.2 => package 0.9.9.200 - glm 0.9.9.3 => package 0.9.9.300

Total Downloads
225.5K
225,483
Published
Mar 19, 2019
Latest stable version

Install

.NET CLI
dotnet add package glm --version 0.9.9.400
Package Manager Console
Install-Package glm -Version 0.9.9.400
PackageReference
<PackageReference Include="glm" Version="0.9.9.400" />

Frameworks

No framework metadata available.

Dependencies

No declared dependencies.

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.