Advertisement
Naitenne

Draw string

Dec 22nd, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.34 KB | None | 0 0
  1.         Tessellator tessellator = Tessellator.instance;
  2.         tessellator.startDrawing(3);
  3.         tessellator.setColorOpaque_I(0);
  4.         byte b2 = 16;
  5.  
  6.         for (int i = 0; i <= b2; ++i)
  7.         {
  8.             float f12 = (float)i / (float)b2;
  9.             tessellator.addVertex(5 * (double)f12, 2 * (double)(f12 * f12 + f12) * 0.5D + 0.25D, 5 * (double)f12);
  10.         }
  11.         tessellator.draw();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement