ADD classes for a triangle in OPENGL