wrapped opengl drawing calls inside ModelEntity class