Apply reviewer suggestions
Signed-off-by: Nemerle <nemerle5+git@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user