mirror of
https://github.com/opencv/opencv.git
synced 2025-01-19 23:19:23 +08: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:
commit
c28342f7f2
@ -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;
|
objectPath = modelPath;
|
||||||
position = pos;
|
position = pos;
|
||||||
lookat = center;
|
lookat = center;
|
||||||
upVector = up;
|
upVector = up;
|
||||||
fovy = fov;
|
fovy = fov;
|
||||||
zNear = near;
|
zNear = nearPlane;
|
||||||
zFar = far;
|
zFar = farPlane;
|
||||||
scaleCoeff = scale;
|
scaleCoeff = scale;
|
||||||
|
|
||||||
std::vector<vector<int>> indvec;
|
std::vector<vector<int>> indvec;
|
||||||
|
Loading…
Reference in New Issue
Block a user