diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2018-05-01 18:03:20 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2018-05-01 18:03:20 +0300 |
commit | bbfee34e9e2a3d8e8572dd41b3601e783d35a675 (patch) | |
tree | fbb36728165d9c4ea8b60e0cac340652dbc7e30d /extern/curve_fit_nd/curve_fit_nd.h | |
parent | ae7b67902191abb7e5aefbdcc20b84f050ec2b08 (diff) | |
parent | 2e98524b58a53f0d546e5f1e7d549d2f45815055 (diff) |
Merge remote-tracking branch 'origin/master' into uv_unwrapping_slim_algorithm
Diffstat (limited to 'extern/curve_fit_nd/curve_fit_nd.h')
-rw-r--r-- | extern/curve_fit_nd/curve_fit_nd.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/extern/curve_fit_nd/curve_fit_nd.h b/extern/curve_fit_nd/curve_fit_nd.h index 7232f802e28..18244799b0f 100644 --- a/extern/curve_fit_nd/curve_fit_nd.h +++ b/extern/curve_fit_nd/curve_fit_nd.h @@ -36,7 +36,7 @@ /* curve_fit_cubic.c */ /** - * Takes a flat array of points and evalues that to calculate a bezier spline. + * Takes a flat array of points and evaluates that to calculate a bezier spline. * * \param points, points_len: The array of points to calculate a cubics from. * \param dims: The number of dimensions for for each element in \a points. @@ -82,7 +82,7 @@ int curve_fit_cubic_to_points_fl( unsigned int **r_corners_index_array, unsigned int *r_corners_index_len); /** - * Takes a flat array of points and evalues that to calculate handle lengths. + * Takes a flat array of points and evaluates that to calculate handle lengths. * * \param points, points_len: The array of points to calculate a cubics from. * \param dims: The number of dimensions for for each element in \a points. @@ -107,7 +107,8 @@ int curve_fit_cubic_to_points_single_db( double r_handle_l[], double r_handle_r[], - double *r_error_sq); + double *r_error_sq, + unsigned int *r_error_index); int curve_fit_cubic_to_points_single_fl( const float *points, @@ -120,7 +121,8 @@ int curve_fit_cubic_to_points_single_fl( float r_handle_l[], float r_handle_r[], - float *r_error_sq); + float *r_error_sq, + unsigned int *r_error_index); enum { CURVE_FIT_CALC_HIGH_QUALIY = (1 << 0), |