Implemented render of program extents.

This commit is contained in:
2023-05-07 11:23:58 +03:00
parent 71e51c5033
commit 616011ac55
3 changed files with 99 additions and 5 deletions
+5 -1
View File
@@ -27,16 +27,20 @@ private:
GLuint vbo_id;
GLuint vao_id;
GLuint extents_vbo_id;
GLuint extents_vao_id;
std::vector<float> buffer_data;
shader_program *shader = nullptr;
bool initialized = false;
glm::vec3 min_pos, max_pos, spindle_pos;
GLsizei vertices_count, spindle_vertices_count;
GLsizei vertices_count, spindle_vertices_count, extents_vertices_count;
void initialize_program_buffers();
void initialize_spindle_buffers();
void initialize_extents_buffers();
};