1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #25451 from savuor:rv/fix_win_near_far

Fix build for Windows: bad var names in testdata generator
This commit is contained in:
Alexander Smorkalov
2024-04-19 09:31:01 +03:00
committed by GitHub
+3 -3
View File
@@ -224,15 +224,15 @@ public:
}
}
ModelData(std::string modelPath, double fov, double near, double far, double scale, Vec3d pos, Vec3d center, Vec3d up)
ModelData(std::string modelPath, double fov, double nearPlane, double farPlane, double scale, Vec3d pos, Vec3d center, Vec3d up)
{
objectPath = modelPath;
position = pos;
lookat = center;
upVector = up;
fovy = fov;
zNear = near;
zFar = far;
zNear = nearPlane;
zFar = farPlane;
scaleCoeff = scale;
std::vector<vector<int>> indvec;