summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_canvas3d_mesh.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-01-06 09:57:46 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-01-06 15:58:46 -0800
commit8f1c071d6adbf6f8e2002eeeabdc7f3d7be9ef22 (patch)
tree17bddaa85bcdead8807053b009d1adf1c9eda71c /src/lib/evas/canvas/evas_canvas3d_mesh.c
parentf9928b75c8c4a2e6c3f02aafb68c8a569a47ab04 (diff)
eina: rename EINA_{FLT,DBL}_CMP to EINA_{FLT,DBL}_EQ.
Diffstat (limited to 'src/lib/evas/canvas/evas_canvas3d_mesh.c')
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_mesh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_canvas3d_mesh.c b/src/lib/evas/canvas/evas_canvas3d_mesh.c
index b24c7ec..7ec6fb6 100644
--- a/src/lib/evas/canvas/evas_canvas3d_mesh.c
+++ b/src/lib/evas/canvas/evas_canvas3d_mesh.c
@@ -833,7 +833,7 @@ _evas_canvas3d_mesh_alpha_func_set(Eo *obj, Evas_Canvas3D_Mesh_Data *pd, Evas_Ca
833 Evas_Real ref_value) 833 Evas_Real ref_value)
834{ 834{
835 if (pd->alpha_comparison == comparison && 835 if (pd->alpha_comparison == comparison &&
836 (EINA_DBL_CMP(pd->alpha_ref_value, ref_value))) 836 (EINA_DBL_EQ(pd->alpha_ref_value, ref_value)))
837 return; 837 return;
838 pd->alpha_comparison = comparison; 838 pd->alpha_comparison = comparison;
839 pd->alpha_ref_value = ref_value; 839 pd->alpha_ref_value = ref_value;
@@ -1116,7 +1116,7 @@ EOLIAN static void
1116_evas_canvas3d_mesh_shadows_constant_bias_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd, 1116_evas_canvas3d_mesh_shadows_constant_bias_set(Eo *obj EINA_UNUSED, Evas_Canvas3D_Mesh_Data *pd,
1117 Evas_Real bias) 1117 Evas_Real bias)
1118{ 1118{
1119 if (!EINA_DBL_CMP(pd->shadows_constant_bias, bias)) 1119 if (!EINA_DBL_EQ(pd->shadows_constant_bias, bias))
1120 { 1120 {
1121 pd->shadows_constant_bias = bias; 1121 pd->shadows_constant_bias = bias;
1122 evas_canvas3d_object_change(obj, EVAS_CANVAS3D_STATE_MESH_SHADOWS_CONSTANT_BIAS, NULL); 1122 evas_canvas3d_object_change(obj, EVAS_CANVAS3D_STATE_MESH_SHADOWS_CONSTANT_BIAS, NULL);