diff --git a/Cargo.toml b/Cargo.toml index 2f72b35..9b6f6aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ std = [] [dependencies] alga = { version = "0.9", optional = true } -cgmath = { version = "0.16", optional = true } +cgmath = { version = "0.17", optional = true } nalgebra = { version = ">=0.14, <0.19", optional = true } num-traits = { version = "0.2", optional = true } serde = { version = "1", optional = true } diff --git a/src/cgmath.rs b/src/cgmath.rs index 457ef7f..5d46b4b 100644 --- a/src/cgmath.rs +++ b/src/cgmath.rs @@ -1,5 +1,5 @@ use cgmath::{ - BaseFloat, BaseNum, InnerSpace, Quaternion, Vector1, Vector2, Vector3, Vector4 + BaseFloat, BaseNum, InnerSpace, Quaternion, Vector1, Vector2, Vector3, Vector4, VectorSpace }; use crate::interpolate::{Additive, Interpolate, Linear, One, cubic_hermite_def};