Compare commits
11 Commits
EmbarkStud
...
4.3.1
Author | SHA1 | Date | |
---|---|---|---|
f6fa4ecbce | |||
e2f220ec15 | |||
c3670d6b0a | |||
c6ba8476f2 | |||
389f4d182d | |||
8af9151dac | |||
a82cf85619 | |||
37d3cc5f29 | |||
1e70ab882c | |||
2179c8300f | |||
e7a9723ae0 |
19
CHANGELOG.md
19
CHANGELOG.md
@ -1,6 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
* [4.1.2](#412)
|
||||
* [4.3.1](#431)
|
||||
* [4.3](#43)
|
||||
* [4.2](#42)
|
||||
* [4.1.1](#411)
|
||||
* [4.1](#41)
|
||||
* [4.0.3](#403)
|
||||
@ -41,7 +43,20 @@
|
||||
* [0.1.1](#011)
|
||||
* [0.1](#01)
|
||||
|
||||
# 4.2.0
|
||||
# 4.3.1
|
||||
|
||||
> Nov 22, 2023
|
||||
|
||||
- Add `Default` implementation for `Spline`. [c6ba847](https://github.com/phaazon/splines/commit/c6ba847)
|
||||
|
||||
# 4.3
|
||||
|
||||
> Sep 23, 2023
|
||||
|
||||
- Add support for `glam-0.23` and `glam-0.24`. [cdc48a4](https://github.com/phaazon/splines/commit/cdc48a4)
|
||||
- Add `Spline::clear` to clear a spline keys without deallocating its internal storage. [eca09f1](https://github.com/phaazon/splines/commit/eca09f1)
|
||||
|
||||
# 4.2
|
||||
|
||||
> Feb 1, 2023
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "splines"
|
||||
version = "4.2.0"
|
||||
version = "4.3.1"
|
||||
license = "BSD-3-Clause"
|
||||
authors = ["Dimitri Sabadie <dimitri.sabadie@gmail.com>"]
|
||||
description = "Spline interpolation made easy"
|
||||
|
@ -1,6 +1,6 @@
|
||||
edition = "2018"
|
||||
|
||||
fn_args_layout = "Tall"
|
||||
fn_params_layout = "Tall"
|
||||
force_explicit_abi = true
|
||||
hard_tabs = false
|
||||
max_width = 100
|
||||
|
@ -27,7 +27,7 @@ use std::cmp::Ordering;
|
||||
/// for the required interpolation mode, you get `None`.
|
||||
/// - [`Spline::clamped_sample`]: behaves like [`Spline::sample`] but will return either the first
|
||||
/// or last key if out of bound; it will return `None` if not enough key.
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, Default)]
|
||||
#[cfg_attr(
|
||||
any(feature = "serialization", feature = "serde"),
|
||||
derive(Deserialize, Serialize)
|
||||
@ -55,7 +55,7 @@ impl<T, V> Spline<T, V> {
|
||||
spline.internal_sort();
|
||||
spline
|
||||
}
|
||||
|
||||
|
||||
/// Clear the spline by removing all keys. Keeps the underlying allocated storage, so adding
|
||||
/// new keys should be faster than creating a new [`Spline`]
|
||||
#[inline]
|
||||
|
Reference in New Issue
Block a user