Skip to content

Commit 5435312

Browse files
author
Benjamin Deleze
committed
fix
1 parent b648c4c commit 5435312

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webots/nodes/utils/WbObjectDetection.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ bool WbObjectDetection::isContainedInFrustum(const WbAffinePlane *frustumPlanes)
423423
return true;
424424
}
425425

426-
WbAffinePlane *WbObjectDetection::computeFrustumPlanes(const WbSolid *device, double verticalFieldOfView, double horizontalFieldOfView,
427-
double maxRange, bool isPlanarProjection) {
426+
WbAffinePlane *WbObjectDetection::computeFrustumPlanes(const WbSolid *device, double verticalFieldOfView,
427+
double horizontalFieldOfView, double maxRange, bool isPlanarProjection) {
428428
const WbVector3 devicePosition = device->position();
429429
const WbMatrix3 deviceRotation = device->rotationMatrix();
430430
// construct the 4 planes defining the sides of the frustum

0 commit comments

Comments
 (0)