Skip to content

Commit

Permalink
tests/3d: Add tests for QgsCameraController
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitjano authored and nyalldawson committed Apr 25, 2024
1 parent 1fccd32 commit a8ea5e1
Show file tree
Hide file tree
Showing 3 changed files with 1,241 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/3d/qgscameracontroller.h
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ class _3D_EXPORT QgsCameraController : public QObject

// To test the cameracontroller
friend class TestQgs3DRendering;
friend class TestQgs3DCameraController;
};

#endif // QGSCAMERACONTROLLER_H
1 change: 1 addition & 0 deletions tests/src/3d/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ include_directories(SYSTEM
add_subdirectory(sandbox)

set(TESTS
testqgs3dcameracontroller.cpp
testqgs3dmaterial.cpp
testqgs3drendering.cpp
testqgs3dsymbolregistry.cpp
Expand Down

0 comments on commit a8ea5e1

Please sign in to comment.