kvark / mint

Math Interoperability Types
MIT License
256 stars 20 forks source link

mint

Build Status Docs Crates.io

Math INteroperability Types

xkcd standard

This library provides standard mathematical types used in computer graphics. Its only purpose is to serve as a standard and interoperability language between various components of rust-gamedev ecosystem that happen to expose math-related types on their API. There are no operations defined for the types other than for the means of conversion from/into external types.
Serde support is available through the serde feature.

Types

This crate offers the following types:

Points

Matrices

Column Matrices

Row Matrices

Vectors

Quaternion

Euler Angles

MSRV

mint supports Rust 1.52.1 and newer. From time to time, mint may increase the minimum supported Rust version in a minor version bump in order to take advantage of new Rust features.

License

mint is available under the terms of the MIT license. See LICENSE or https://opensource.org/licenses/MIT for more information.