@@ -473,8 +473,9 @@ void WbCamera::updateRaysSetupIfNeeded() {
473473 (isPlanarProjection () || horizontalFieldOfView > M_PI) ?
474474 WbWrenCamera::computeFieldOfViewY (horizontalFieldOfView, (double )width () / (double )height ()) :
475475 mWrenCamera ->sphericalFieldOfViewY ();
476- const WbAffinePlane *frustumPlanes = WbObjectDetection::computeFrustumPlanes (this , verticalFieldOfView, horizontalFieldOfView,
477- recognition ()->maxRange (), isPlanarProjection ());
476+ const WbAffinePlane *frustumPlanes =
477+ WbObjectDetection::computeFrustumPlanes (this , verticalFieldOfView, horizontalFieldOfView,
478+ recognition ()->maxRange (), isPlanarProjection ());
478479
479480 // update list of recognized objects
480481 foreach (WbRecognizedObject *recognizedObject, mRecognizedObjects ) {
@@ -705,8 +706,9 @@ void WbCamera::computeRecognizedObjects(bool finalSetup, bool needCollisionDetec
705706 (isPlanarProjection () || horizontalFieldOfView > M_PI) ?
706707 WbWrenCamera::computeFieldOfViewY (horizontalFieldOfView, (double )width () / (double )height ()) :
707708 mWrenCamera ->sphericalFieldOfViewY ();
708- const WbAffinePlane *frustumPlanes = WbObjectDetection::computeFrustumPlanes (this , verticalFieldOfView, horizontalFieldOfView,
709- recognition ()->maxRange (), isPlanarProjection ());
709+ const WbAffinePlane *frustumPlanes =
710+ WbObjectDetection::computeFrustumPlanes (this , verticalFieldOfView, horizontalFieldOfView,
711+ recognition ()->maxRange (), isPlanarProjection ());
710712
711713 // loop for each possible target to check if it is visible
712714 const QList<WbSolid *> objects = WbWorld::instance ()->cameraRecognitionObjects ();
0 commit comments