41 scaling = trans::scaling3d(scale);
class to store information about material read from .mtl file along with obj
this class represents all drawable entities that has a material and vertices
void setScale(const vec3 &scale)
virtual void userSpecificFunction()
void delpos(const vec3 &delta)
std::vector< uint32_t > m_indices
void setpos(const vec3 &delta)
void setRotation(float angle, const vec3 &axis)
std::vector< T > m_vertices
drawable(const std::vector< T > &vertices, std::vector< unsigned > indices, const std::string &n)