#include <line.h>
Public Member Functions | |
Line (float line_width, GLenum render_mode) | |
void | Render (const glm::mat4 &projection_mat, const glm::mat4 &view_mat) const |
void | SetLineWidth (const float pixels) |
void | UpdateLineVertices (const std::vector< glm::vec3 > &vec_vertices) |
Protected Attributes | |
float | line_width_ |
std::vector< glm::vec3 > | vec_vertices_ |
tango_gl::Line::Line | ( | float | line_width, |
GLenum | render_mode | ||
) |
void tango_gl::Line::Render | ( | const glm::mat4 & | projection_mat, |
const glm::mat4 & | view_mat | ||
) | const [virtual] |
Implements tango_gl::DrawableObject.
Reimplemented in tango_gl::Axis.
void tango_gl::Line::SetLineWidth | ( | const float | pixels | ) |
void tango_gl::Line::UpdateLineVertices | ( | const std::vector< glm::vec3 > & | vec_vertices | ) | [inline] |
float tango_gl::Line::line_width_ [protected] |
std::vector<glm::vec3> tango_gl::Line::vec_vertices_ [protected] |