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.
See the version list below for details.
Install-Package GlmSharp -Version 0.9.7
dotnet add package GlmSharp --version 0.9.7
<PackageReference Include="GlmSharp" Version="0.9.7" />
paket add GlmSharp --version 0.9.7
Working version at around 40k LOC, several supported types (vectors, matrices, quaternions), quite extensive functionality. Includes XML documentation.
This package has no dependencies.