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:
50542f7
)
[Tizen] Temporary fix, Will be removed later, Fix Emul crash issue
author
Heeyong Song
<heeyong.song@samsung.com>
Tue, 12 Nov 2019 05:50:27 +0000
(14:50 +0900)
committer
Heeyong Song
<heeyong.song@samsung.com>
Tue, 12 Nov 2019 05:50:31 +0000
(14:50 +0900)
Change-Id: Ia42eda4f3a82f7e383827757457b6f6157d398c7
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) )