nalgebra v0.25.2 Release Notes
-
➕ Added
- A
convert-glam
cargo feature to enable implementations ofFrom
traits to convert betweenglam
types andnalgebra
types. - A
convert-glam-unchecked
cargo feature to enable some extraglam
/nalgebra
conversions that may lead to unexpected results if used improperly. For example, this enables the conversion from aglam::Mat4
to ana::Isometry3
. This conversion will be cheap (without any check) but willlead to unexpected results if the glam matrix contains non-isometric components (like scaling for example). - A
cast
method has been added to most types. This can be used to change the type of the components of a given entity. Example:vector.cast::<f32>()
.
- A