-
Notifications
You must be signed in to change notification settings - Fork 32
Release notes
Fixed [issue #52], by adding an implementation of as_()
using AsPrimitive
for vector types.
Merged PR #50, fixing an issue where the column_major
matrix module used crate
instead of self
, meaning that e.g vek::mat::repr_simd::Mat3
would actually use repr_c
. Thanks @Veykril!
Merged PR #49, adding support for Aabb::projected_point()
and Aabb::distance_from_point()
. Thanks @zesterer!
The minor version was increased from 0.9 because this version introduces minor breaking changes, due to updated dependencies, and minor changes to the API. Please note that this is to be expected from a crate which major version is 0.
cargo fix
is great!
Also fixed warnings about deprecated use of mem::uninitialized()
.
A new no_std
target was added to the Travis CI script as well, to test for regressions.
To compile on no_std
, specify the vek
dependency in Cargo.toml
like so :
[dependencies]
vek = { version = "0.10.0", default-features = false, features = ["libm"] }
In particular, the approx
crate, with new traits, which is a breaking change.
Added Clamp::clamped_minus1_1()
, and used it before calling .acos()
on a value.
Improved is_normalized()
, courtesy of @Imberflur, see PR #48.
Also added a is_magnitude_close_to()
helper method.
The best example is CubicBezier::unit_circle() which returned 4 curves approximating a circle.
Returning a tuple is convenient for deconstructing the result, but makes less sense than an array because what we're really returning is a collection of curves, something one could easily iterate on, and arrays are simply a better fit.
There are no release notes for the previous versions, sorry!