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:
b76d87c
)
[Tizen] Temporary fix, Will be removed later, Fix Emul crash issue
submit/tizen/20190812.050445
author
Joogab Yun
<joogab.yun@samsung.com>
Mon, 12 Aug 2019 04:39:58 +0000
(13:39 +0900)
committer
Joogab Yun
<joogab.yun@samsung.com>
Mon, 12 Aug 2019 04:40:02 +0000
(13:40 +0900)
This reverts commit
a34e79aabf10493afa2639635c22e389dab11f4a
.
Change-Id: I6a2f6688e240109750ddaa870cbd230218f8b579
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
2b410d0
..
3514958
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;
}
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) )
bool Vector3::operator==(const Vector3& rhs) const
{
if (fabsf(x - rhs.x) > GetRangedEpsilon(x, rhs.x) )