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; 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;