From 18a78988a13eccc7f2979c91f55e7f0acf051ea2 Mon Sep 17 00:00:00 2001 From: Rostislav Vasilikhin Date: Fri, 19 Apr 2024 04:14:46 +0200 Subject: [PATCH] fix var names for win --- samples/opengl/opengl_testdata_generator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;