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
commit c28342f7f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;