完成UV对齐

This commit is contained in:
xsl
2025-09-28 17:18:37 +08:00
parent 481bdefa74
commit 0db09f12c3
2 changed files with 70 additions and 17 deletions
@@ -210,9 +210,12 @@ public:
void update_point_vertex_buffer_line_save(std::vector<LineVertex>& vertices);
bool LoadOBJ(const std::string& filename,std::vector<TextureLoadingVertexStructure>& vertices,std::vector<uint32_t>& indices);
bool LoadOBJ_test(const std::string& filename, std::vector<float>& positions);
private:
std::vector<float> positions_test;
std::vector<TextureLoadingVertexStructure> obj_vertices;
std::vector<uint32_t> obj_indices;
std::map<int, int> obj_vertices_map;
std::thread workerThread;
bool running = false;