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:
0cfb522
)
[Tizen] Temporary fix, Will be removed later, Fix Emul crash issue
author
Joogab Yun
<joogab.yun@samsung.com>
Tue, 10 Sep 2019 08:59:53 +0000
(17:59 +0900)
committer
Joogab Yun
<joogab.yun@samsung.com>
Tue, 10 Sep 2019 08:59:57 +0000
(17:59 +0900)
This reverts commit
bca8683ee5cb9a737c319c4b83223f728bc71c19
.
Change-Id: I4da7de153480a2c4c6fad9489a21d237124e8204
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;
}
+// 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) )