[Tizen] Temporary fix, Will be removed later, Fix Emul crash issue 91/211191/1
authordongsug.song <dongsug.song@samsung.com>
Wed, 31 Jul 2019 04:37:12 +0000 (13:37 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Wed, 31 Jul 2019 04:37:12 +0000 (13:37 +0900)
Change-Id: I928f049db07b0f6f508cacff7f777502fa85fb12

dali/public-api/math/vector3.cpp

index 2b410d0..3514958 100644 (file)
@@ -97,6 +97,16 @@ Vector3& Vector3::operator*=(const Quaternion& rhs)
   return *this;
 }
 
+// Temporary fix, Will be removed later, Fix Emul crash issue
+#ifndef _ARCH_ARM_
+#undef fabsf
+float fabsf(float value)
+{
+  if (value < 0) return -value;
+  return value;
+}
+#endif
+
 bool Vector3::operator==(const Vector3& rhs) const
 {
   if (fabsf(x - rhs.x) > GetRangedEpsilon(x, rhs.x) )