refactor(gameplay): encapsulate per-type vertex data into VertexData struct

This commit is contained in:
2026-06-05 11:25:05 +08:00
parent 0d209d5b9c
commit aa3805448f
5 changed files with 104 additions and 91 deletions

View File

@@ -123,6 +123,7 @@ add_executable(${PROJECT_NAME}
src/gameplay/river_worm.cpp
src/gameplay/river_path.cpp
src/block.cpp
src/gameplay/vertex_data.cpp
)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")