16 个版本
| 0.5.9 | 2022年2月2日 |
|---|---|
| 0.5.8 | 2021年10月22日 |
| 0.5.7 | 2021年9月25日 |
| 0.5.6 | 2020年11月4日 |
| 0.4.2 | 2017年6月9日 |
#15 在 数学 类别中
101,802 每月下载量
用于 480 个 包(121 个直接使用)
22KB
381 行
mint
Math INteroperability Types

此库提供在计算机图形学中使用的标准数学类型。其唯一目的是作为在rust-gamedev生态系统中的不同组件之间作为标准互操作语言的工具,这些组件恰好在其API上公开了与数学相关的类型。除了将类型从/转换为外部类型之外,没有定义任何操作。
通过 serde 功能提供 Serde 支持。
类型
此包提供以下类型
点
矩阵
列矩阵
ColumnMatrix2ColumnMatrix3ColumnMatrix4ColumnMatrix2x3ColumnMatrix2x4ColumnMatrix3x2ColumnMatrix3x4ColumnMatrix4x2ColumnMatrix4x3
行矩阵
RowMatrix2RowMatrix3RowMatrix4RowMatrix2x3RowMatrix2x4RowMatrix3x2RowMatrix3x4RowMatrix4x2RowMatrix4x3
向量
四元数
欧拉角
MSRV
mint 支持 Rust 1.52.1 及更高版本。有时,mint 可能会通过小版本升级来提高最低支持的 Rust 版本,以利用新的 Rust 功能。
许可协议
mint 在 MIT 许可协议下可用。更多信息请参阅 LICENSE 或 https://open-source.org.cn/licenses/MIT。
依赖项
~170KB