diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/tracking.c | 4 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_math_matrix.h | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/math_matrix.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/tracking.c b/source/blender/blenkernel/intern/tracking.c index 3c2eca1a157..0ce4d54a74c 100644 --- a/source/blender/blenkernel/intern/tracking.c +++ b/source/blender/blenkernel/intern/tracking.c @@ -3324,7 +3324,7 @@ static void track_plane_from_existing_motion(MovieTrackingPlaneTrack *plane_trac libmv_homography2DFromCorrespondencesEuc(x1, x2, num_correspondences, H_double); - copt_m3_m3d(H, H_double); + copy_m3_m3d(H, H_double); for (i = 0; i < 4; i++) { float vec[3] = {0.0f, 0.0f, 1.0f}, vec2[3]; @@ -3428,7 +3428,7 @@ void BKE_tracking_homography_between_two_quads(/*const*/ float reference_corners libmv_homography2DFromCorrespondencesEuc(x1, x2, 4, H_double); - copt_m3_m3d(H, H_double); + copy_m3_m3d(H, H_double); } /*********************** Camera solving *************************/ diff --git a/source/blender/blenlib/BLI_math_matrix.h b/source/blender/blenlib/BLI_math_matrix.h index cb0d95301fb..c83494790a8 100644 --- a/source/blender/blenlib/BLI_math_matrix.h +++ b/source/blender/blenlib/BLI_math_matrix.h @@ -61,7 +61,7 @@ void copy_m3_m4(float R[3][3], float A[4][4]); void copy_m4_m3(float R[4][4], float A[3][3]); /* double->float */ -void copt_m3_m3d(float R[3][3], double A[3][3]); +void copy_m3_m3d(float R[3][3], double A[3][3]); void swap_m3m3(float A[3][3], float B[3][3]); void swap_m4m4(float A[4][4], float B[4][4]); diff --git a/source/blender/blenlib/intern/math_matrix.c b/source/blender/blenlib/intern/math_matrix.c index 2cda4425d8e..1f52caac8e9 100644 --- a/source/blender/blenlib/intern/math_matrix.c +++ b/source/blender/blenlib/intern/math_matrix.c @@ -112,7 +112,7 @@ void copy_m4_m3(float m1[4][4], float m2[3][3]) /* no clear */ } -void copt_m3_m3d(float R[3][3], double A[3][3]) +void copy_m3_m3d(float R[3][3], double A[3][3]) { /* Keep it stupid simple for better data flow in CPU. */ R[0][0] = A[0][0]; |