[opengl] Added util class