Apply reviewer suggestions

Signed-off-by: Nemerle <nemerle5+git@gmail.com>
This commit is contained in:
Nemerle
2021-12-17 16:02:33 +01:00
449 changed files with 11205 additions and 5685 deletions
@@ -720,7 +720,6 @@ namespace WhiteBox
// must have at least one triangle
if (m_faces->empty())
{
distance = std::numeric_limits<float>::max();
return false;
}
@@ -735,7 +734,6 @@ namespace WhiteBox
const AZ::Vector3 localRayEnd = localRayOrigin + localRayDirection * rayLength;
bool intersection = false;
distance = std::numeric_limits<float>::max();
for (const auto& face : m_faces.value())
{
float t;