Implemented render of program extents.
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user