Change-Id: I43c40339167013e870e4ae412d944fb71c394384
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
return sqrt(((positiveDiff.x + positiveDiff.y)
+ sqrt(positiveDiff.x * positiveDiff.x
+ positiveDiff.y * positiveDiff.y
- + (2.0 - 4.0 * squareness * gSquareness) * positiveDiff.x * positiveDiff.y))
+ + (2.0 - 4.0 * squareness * squareness) * positiveDiff.x * positiveDiff.y))
* 0.5)
+ min(0.0, max(diff.x, diff.y)) ///< Consider negative potential, to avoid visual defect when radius is zero
- radius;