| Crates.io | glamx |
| lib.rs | glamx |
| version | 0.1.3 |
| created_at | 2026-01-04 20:32:04.114054+00 |
| updated_at | 2026-01-08 21:45:11.516153+00 |
| description | Extensions for glam: Pose2, Pose3, Rot2, and matrix utilities. |
| homepage | https://dimforge.com |
| repository | https://github.com/dimforge/parry |
| max_upload_size | |
| id | 2022432 |
| size | 132,173 |
Extensions for glam: Pose2, Pose3, Rot2, SVD, eigendecomposition, and matrix utilities.
glamx provides additional types commonly needed in game development, robotics, and computer graphics that aren't included in glam:
Rot2 / DRot2: 2D rotations represented as unit complex numbersRot3 / DRot3: 3D rotations (re-exports of glam's quaternions)Pose2 / DPose2: 2D rigid body transformations (rotation + translation)Pose3 / DPose3: 3D rigid body transformations (rotation + translation)MatExt: Extension trait for glam matrix typesSymmetricEigen2 / SymmetricEigen3: Eigendecomposition for symmetric matricesSvd2 / Svd3: Singular Value Decomposition for 2x2 and 3x3 matricesThis crate re-exports all of glam's types, so you can use it as a drop-in replacement.
| Feature | Description |
|---|---|
std (default) |
Enables standard library support |
serde |
Enables serialization via serde |
bytemuck |
Enables bytemuck derives for Rot2/DRot2 |
nalgebra |
Enables conversions to/from nalgebra types |
libm |
Uses libm for no_std math operations |
approx |
Enables approximate comparison traits |
rand |
Enables random generation support |
mint |
Enables mint type conversions |
encase |
Enables encase encoding |
no_std Supportglamx is no_std compatible. Disable default features and enable libm for math operations:
[dependencies]
glamx = { version = "0.1", default-features = false, features = ["libm"] }
Licensed under either of
at your option.