chore: remove equality from boolean expression
Signed-off-by: Michael Pollind <mpollind@gmail.com>
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ namespace AzToolsFramework
|
||||
{
|
||||
return AZ::Intersect::IntersectRayBox(
|
||||
rayOrigin, rayDirection, m_center, m_axis1, m_axis2, m_axis3, m_halfExtents.GetX(), m_halfExtents.GetY(),
|
||||
m_halfExtents.GetZ(), rayIntersectionDistance) > 0;
|
||||
m_halfExtents.GetZ(), rayIntersectionDistance);
|
||||
}
|
||||
|
||||
void ManipulatorBoundBox::SetShapeData(const BoundRequestShapeBase& shapeData)
|
||||
|
||||
@@ -166,7 +166,7 @@ namespace LmbrCentral
|
||||
return intersection;
|
||||
}
|
||||
|
||||
const bool intersection = AZ::Intersect::IntersectRayObb(src, dir, m_intersectionDataCache.m_obb, distance) > 0;
|
||||
const bool intersection = AZ::Intersect::IntersectRayObb(src, dir, m_intersectionDataCache.m_obb, distance);
|
||||
return intersection;
|
||||
}
|
||||
|
||||
|
||||
@@ -153,7 +153,7 @@ namespace LmbrCentral
|
||||
m_intersectionDataCache.UpdateIntersectionParams(m_currentTransform, m_diskShapeConfig);
|
||||
|
||||
return AZ::Intersect::IntersectRayDisk(
|
||||
src, dir, m_intersectionDataCache.m_position, m_intersectionDataCache.m_radius, m_intersectionDataCache.m_normal, distance) > 0;
|
||||
src, dir, m_intersectionDataCache.m_position, m_intersectionDataCache.m_radius, m_intersectionDataCache.m_normal, distance);
|
||||
}
|
||||
|
||||
void DiskShape::DiskIntersectionDataCache::UpdateIntersectionParamsImpl(
|
||||
|
||||
Reference in New Issue
Block a user