C#/.NET math library for small vectors and matrices.
Supported types: vec2, vec3, vec4, quat, mat2, mat3, mat4, non-quadratic mats.
Supported base types: int, uint, long, float, double, decimal, complex, long, bool, generic T.
Supports swizzling, operator overloads, numerous functions.
Supports serialization and marshalling.
The naming and behavior is inspired by the excellent OpenGL Mathematics lib by Christophe Riccio.
This library is MIT-licensed.
Install-Package GlmSharp -Version 0.9.8
dotnet add package GlmSharp --version 0.9.8
<PackageReference Include="GlmSharp" Version="0.9.8" />
paket add GlmSharp --version 0.9.8
Working version at around 40k LOC, several supported types (vectors, matrices, quaternions), quite extensive functionality. Includes XML documentation.
This package has no dependencies.
Showing the top 1 GitHub repositories that depend on GlmSharp:
C# Bindings for the Vulkan API & SPIR-V
Read more about the GitHub Usage information on our documentation.