Test code to draw triangle in libgdx