C#/.NET math library for small vectors and matrices.
Supported types: vec2, vec3, vec4, 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.
See the version list below for details.
Install-Package GlmSharp -Version 0.9.3
dotnet add package GlmSharp --version 0.9.3
<PackageReference Include="GlmSharp" Version="0.9.3" />
paket add GlmSharp --version 0.9.3
Initial working version at around 25k LOC, several supported types, quite extensive functionality. Includes XML documentation.
This package has no dependencies.