Skip to content

Commit 5bac3e9

Browse files
Rename curve_analysis.rs to curve_derivatives.rs
1 parent 01f913b commit 5bac3e9

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

lib/rust/mmscenegraph/src/math/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
//
2020

2121
pub mod camera;
22-
pub mod curve_analysis;
22+
pub mod curve_derivatives;
2323
pub mod curve_fit;
2424
pub mod dag;
2525
pub mod line;

lib/rust/mmscenegraph/tests/curve_analysis_derivatives.rs renamed to lib/rust/mmscenegraph/tests/curve_derivatives.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,17 @@
1818
// ====================================================================
1919
//
2020

21+
#![allow(unused_imports)]
22+
#![allow(unused_variables)]
23+
#![allow(dead_code)]
24+
2125
mod common;
2226

2327
use anyhow::Result;
2428
use approx::assert_relative_eq;
2529

26-
use mmscenegraph_rust::math::curve_analysis::allocate_derivatives_order_3;
27-
use mmscenegraph_rust::math::curve_analysis::calculate_derivatives_order_3;
30+
use mmscenegraph_rust::math::curve_derivatives::allocate_derivatives_order_3;
31+
use mmscenegraph_rust::math::curve_derivatives::calculate_derivatives_order_3;
2832

2933
fn print_arrays(velocity: &[f64], acceleration: &[f64], jerk: &[f64]) {
3034
println!("Velocity (1st order derivative) count {} :", velocity.len());

0 commit comments

Comments
 (0)