summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_3d_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/include/evas_3d_utils.h')
-rw-r--r--src/lib/evas/include/evas_3d_utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/evas/include/evas_3d_utils.h b/src/lib/evas/include/evas_3d_utils.h
index 10192cc7c0..52a95116bd 100644
--- a/src/lib/evas/include/evas_3d_utils.h
+++ b/src/lib/evas/include/evas_3d_utils.h
@@ -349,7 +349,7 @@ evas_vec3_transform(Evas_Vec3 *out, const Evas_Vec3 *v, const Eina_Matrix3 *m)
349{ 349{
350 Evas_Vec3 tmp; 350 Evas_Vec3 tmp;
351 351
352 if (eina_matrix3_type_get(m) & EINA_MATRIX_TYPE_IDENTITY) 352 if (eina_matrix3_type_get(m) == EINA_MATRIX_TYPE_IDENTITY)
353 { 353 {
354 evas_vec3_copy(out, v); 354 evas_vec3_copy(out, v);
355 return; 355 return;
@@ -367,7 +367,7 @@ evas_vec3_homogeneous_position_transform(Evas_Vec3 *out, const Evas_Vec3 *v, con
367{ 367{
368 Evas_Vec3 tmp; 368 Evas_Vec3 tmp;
369 369
370 if (eina_matrix4_type_get(m) & EINA_MATRIX_TYPE_IDENTITY) 370 if (eina_matrix4_type_get(m) == EINA_MATRIX_TYPE_IDENTITY)
371 { 371 {
372 evas_vec3_copy(out, v); 372 evas_vec3_copy(out, v);
373 return; 373 return;
@@ -386,7 +386,7 @@ evas_vec3_homogeneous_direction_transform(Evas_Vec3 *out, const Evas_Vec3 *v, co
386{ 386{
387 Evas_Vec3 tmp; 387 Evas_Vec3 tmp;
388 388
389 if (eina_matrix4_type_get(m) & EINA_MATRIX_TYPE_IDENTITY) 389 if (eina_matrix4_type_get(m) == EINA_MATRIX_TYPE_IDENTITY)
390 { 390 {
391 evas_vec3_copy(out, v); 391 evas_vec3_copy(out, v);
392 return; 392 return;
@@ -564,7 +564,7 @@ evas_vec4_transform(Evas_Vec4 *out, const Evas_Vec4 *v, const Eina_Matrix4 *m)
564{ 564{
565 Evas_Vec4 tmp; 565 Evas_Vec4 tmp;
566 566
567 if (eina_matrix4_type_get(m) & EINA_MATRIX_TYPE_IDENTITY) 567 if (eina_matrix4_type_get(m) == EINA_MATRIX_TYPE_IDENTITY)
568 { 568 {
569 evas_vec4_copy(out, v); 569 evas_vec4_copy(out, v);
570 return; 570 return;