projects
/
platform
/
core
/
uifw
/
dali-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65a79b4
)
[Tizen] Temporary fix, Will be removed later, Fix Emul crash issue
author
Jiyun Yang
<ji.yang@samsung.com>
Mon, 14 Oct 2019 06:17:46 +0000
(15:17 +0900)
committer
Jiyun Yang
<ji.yang@samsung.com>
Mon, 14 Oct 2019 06:17:46 +0000
(15:17 +0900)
This reverts commit
ba5fc5cf00941c3a675fafbf187bd6b14d19d067
.
dali/public-api/math/vector3.cpp
patch
|
blob
|
history
diff --git
a/dali/public-api/math/vector3.cpp
b/dali/public-api/math/vector3.cpp
index 2b410d0e3d3188373f1f70a597931d09b63c7faf..3514958a28d86970d7f0dd7d39d7c2127a506978 100644
(file)
--- a/
dali/public-api/math/vector3.cpp
+++ b/
dali/public-api/math/vector3.cpp
@@
-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) )