correct typo
authorCampbell Barton <ideasman42@gmail.com>
Fri, 25 Oct 2013 22:12:05 +0000 (22:12 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 25 Oct 2013 22:12:05 +0000 (22:12 +0000)
source/blender/blenkernel/intern/tracking.c
source/blender/blenlib/BLI_math_matrix.h
source/blender/blenlib/intern/math_matrix.c

index 3c2eca1a157f3bcfe7c837caae924539293b4dec..0ce4d54a74cd166de2bafed71083a14bb01ee885 100644 (file)
@@ -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 *************************/
index cb0d95301fbaa42e49492c9ab123ea01a9cc754b..c83494790a8f7d0266aa1ec955a49a3a24b6cc4d 100644 (file)
@@ -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]);
index 2cda4425d8e92e68c6f01d9b978000b49fafe6dc..1f52caac8e9f24df1495e80dcdf85d6bb5cfe8bb 100644 (file)
@@ -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];