17 #ifndef TANGO_GL_DRAWABLE_OBJECT_H_ 18 #define TANGO_GL_DRAWABLE_OBJECT_H_ 36 void SetColor(
const float red,
const float green,
const float blue);
39 void SetVertices(
const std::vector<GLfloat>& vertices,
40 const std::vector<GLushort>& indices);
41 void SetVertices(
const std::vector<GLfloat>& vertices,
42 const std::vector<GLfloat>& normals);
63 #endif // TANGO_GL_DRAWABLE_OBJECT_H_
const DrawableObject & operator=(const DrawableObject &)=delete
void SetAlpha(const float alpha)
virtual void Render(const glm::mat4 &projection_mat, const glm::mat4 &view_mat) const =0
static const float vertices[]
std::vector< GLfloat > vertices_
void SetColor(const Color &color)
std::vector< GLfloat > normals_
std::vector< GLushort > indices_
void SetVertices(const std::vector< GLfloat > &vertices)