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:
9188147
)
[Tizen] Temporary fix, Will be removed later, Fix Emul crash issue
accepted/tizen/unified/20190806.000433
submit/tizen/20190805.052336
author
Seoyeon Kim
<seoyeon2.kim@samsung.com>
Mon, 5 Aug 2019 04:45:58 +0000
(13:45 +0900)
committer
Seoyeon Kim
<seoyeon2.kim@samsung.com>
Mon, 5 Aug 2019 04:46:02 +0000
(13:46 +0900)
This reverts commit
d54d1e47a70d7fee30d9e045272e5a81c3348128
.
Change-Id: I15b5d9935f2184512cd65190dd3fefbc56ed0d9c
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) )