Skip to content

Commit

Permalink
Move all chunk-related functionality to a sub-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Sep 15, 2017
1 parent 74ed07d commit 8f76477
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions src/3d/CMakeLists.txt
Expand Up @@ -3,11 +3,6 @@

SET(QGIS_3D_SRCS
cameracontroller.cpp
chunkboundsentity.cpp
chunkedentity.cpp
chunklist.cpp
chunkloader.cpp
chunknode.cpp
lineentity.cpp
map3d.cpp
pointentity.cpp
Expand All @@ -18,6 +13,12 @@ SET(QGIS_3D_SRCS
tilingscheme.cpp
utils.cpp

chunks/chunkboundsentity.cpp
chunks/chunkedentity.cpp
chunks/chunklist.cpp
chunks/chunkloader.cpp
chunks/chunknode.cpp

terrain/demterraingenerator.cpp
terrain/demterraintilegeometry.cpp
terrain/flatterraingenerator.cpp
Expand All @@ -38,9 +39,10 @@ SET(QGIS_3D_SRCS

SET(QGIS_3D_MOC_HDRS
cameracontroller.h
chunkedentity.h
scene.h

chunks/chunkedentity.h

terrain/demterraingenerator.h
terrain/demterraintilegeometry.h
terrain/maptexturegenerator.h
Expand All @@ -57,11 +59,6 @@ QT5_ADD_RESOURCES(QGIS_3D_RCC_SRCS shaders.qrc)
SET(QGIS_3D_HDRS
aabb.h
cameracontroller.h
chunkboundsentity.h
chunkedentity.h
chunklist.h
chunkloader.h
chunknode.h
lineentity.h
map3d.h
pointentity.h
Expand All @@ -72,6 +69,12 @@ SET(QGIS_3D_HDRS
tilingscheme.h
utils.h

chunks/chunkboundsentity.h
chunks/chunkedentity.h
chunks/chunklist.h
chunks/chunkloader.h
chunks/chunknode.h

terrain/demterraingenerator.h
terrain/demterraintilegeometry.h
terrain/flatterraingenerator.h
Expand All @@ -86,6 +89,7 @@ SET(QGIS_3D_HDRS

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/chunks
${CMAKE_CURRENT_SOURCE_DIR}/terrain
${CMAKE_SOURCE_DIR}/src/core/
${CMAKE_SOURCE_DIR}/src/core/geometry
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8f76477

Please sign in to comment.