diff --git a/samples/opengl/opengl_testdata_generator.cpp b/samples/opengl/opengl_testdata_generator.cpp index 22e8bb19fa..e1c29f5d40 100644 --- a/samples/opengl/opengl_testdata_generator.cpp +++ b/samples/opengl/opengl_testdata_generator.cpp @@ -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> indvec;