添加顶点延长。
This commit is contained in:
@@ -205,6 +205,7 @@ public:
|
||||
public:
|
||||
|
||||
void update_point_vertex_buffer(float* pos, int pointCount);
|
||||
void extendPoint(float* pos, int start_id, int end_id, float rate = 1);
|
||||
void update_face_vertex_buffer(float* pos, int pointCount);
|
||||
void update_point_vertex_buffer_line(float* pos, int pointCount_line, float r, float g, float b, std::vector<LineVertex>& vertices);
|
||||
void update_point_vertex_buffer_line_save(std::vector<LineVertex>& vertices);
|
||||
@@ -212,7 +213,7 @@ public:
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user