forked from M-Labs/nalgebra
Update changelog.
This commit is contained in:
parent
2814e09d31
commit
3ee13ec528
@ -4,6 +4,10 @@ documented here.
|
|||||||
|
|
||||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
## [0.16.0] - WIP
|
||||||
|
### Added
|
||||||
|
* Add construction of a `Point` from an array by implementing the `From` trait.
|
||||||
|
|
||||||
## [0.15.0]
|
## [0.15.0]
|
||||||
The most notable change of this release is the support for using part of the library without the rust standard
|
The most notable change of this release is the support for using part of the library without the rust standard
|
||||||
library (i.e. it supports `#![no_std]`). See the corresponding [documentation](http://nalgebra.org/wasm_and_embedded_programming/).
|
library (i.e. it supports `#![no_std]`). See the corresponding [documentation](http://nalgebra.org/wasm_and_embedded_programming/).
|
||||||
|
@ -128,12 +128,12 @@ componentwise_constructors_impl!(
|
|||||||
|
|
||||||
macro_rules! from_array_impl(
|
macro_rules! from_array_impl(
|
||||||
($($D: ty, $len: expr);*) => {$(
|
($($D: ty, $len: expr);*) => {$(
|
||||||
impl <N: Scalar> From <[N; $len]> for Point <N, $D> {
|
impl <N: Scalar> From<[N; $len]> for Point<N, $D> {
|
||||||
fn from (coords : [N; $len]) -> Self {
|
fn from (coords: [N; $len]) -> Self {
|
||||||
Point::from_coordinates(coords.into())
|
Point::from_coordinates(coords.into())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)*}
|
)*}
|
||||||
);
|
);
|
||||||
|
|
||||||
from_array_impl!(U1,1; U2,2; U3,3; U4,4; U5,5; U6,6);
|
from_array_impl!(U1, 1; U2, 2; U3, 3; U4, 4; U5, 5; U6, 6);
|
||||||
|
Loading…
Reference in New Issue
Block a user