Skip to content

Commit

Permalink
Feature: Add getters for camera parameters #1419
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwarzemann committed Jan 5, 2025
1 parent bb85a0d commit 6ce7254
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions library/testing/TestSDKCamera.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,10 @@ int TestSDKCamera(int argc, char* argv[])
std::cerr << std::setprecision(12) << "yaw: " << yaw << " != 0.0" << std::endl;
return EXIT_FAILURE;
}
dotProduct = viewDirProj[0] * viewDirProj[0] + viewDirProj[1] * viewDirProj[1];
if (dotProduct < epsilon)
{
std::cerr << "Dot product is lesser than epsilon, returning epsilon." << std::endl;
return epsilon;
std::cerr << "Dot product is lesser than epsilon, returning failure." << std::endl;
return EXIT_FAILURE;
}

// Test elevation
Expand Down

0 comments on commit 6ce7254

Please sign in to comment.