diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-01 20:25:17 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-05-01 20:25:17 +0800 |
commit | b5f6c8eafcb5c3fc0e5389f5927dc85bbbafba96 (patch) | |
tree | c42f52891286f7a3b7ec4e595697b4a110e4fb67 /utils/renderUtils.js | |
parent | 7483831198865f501c832f8f1f46c8fa95ccd197 (diff) | |
download | SoopyV2-b5f6c8eafcb5c3fc0e5389f5927dc85bbbafba96.tar.gz SoopyV2-b5f6c8eafcb5c3fc0e5389f5927dc85bbbafba96.tar.bz2 SoopyV2-b5f6c8eafcb5c3fc0e5389f5927dc85bbbafba96.zip |
update!
Diffstat (limited to 'utils/renderUtils.js')
-rw-r--r-- | utils/renderUtils.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/utils/renderUtils.js b/utils/renderUtils.js index 4ec1bc8..051d0c6 100644 --- a/utils/renderUtils.js +++ b/utils/renderUtils.js @@ -49,7 +49,7 @@ let ret = { GL11.glDepthMask(false); GlStateManager.func_179094_E(); - Tessellator.begin(3).colorize(r, g, b); + Tessellator.begin(2).colorize(r, g, b); Tessellator.pos(x, y, z); Tessellator.pos(x2, y2, z2); @@ -72,7 +72,7 @@ let ret = { GL11.glDepthMask(false); GlStateManager.func_179094_E(); - Tessellator.begin(3).colorize(r, g, b); + Tessellator.begin(2).colorize(r, g, b); Tessellator.pos(x, y, z); Tessellator.pos(x2, y2, z2); @@ -101,7 +101,7 @@ let ret = { }, drawLineSmall: function (x, y, z, x2, y2, z2, r, g, b) { - Tessellator.begin(3).colorize(r, g, b); + Tessellator.begin(2).colorize(r, g, b); Tessellator.pos(x, y, z); Tessellator.pos(x2, y2, z2); @@ -116,7 +116,7 @@ let ret = { GL11.glDepthMask(false); GlStateManager.func_179094_E(); - Tessellator.begin(3).colorize(r, g, b); + Tessellator.begin(2).colorize(r, g, b); locations.forEach(loc => { Tessellator.pos(...loc); @@ -143,7 +143,7 @@ let ret = { w += 0.01 h += 0.01 - Tessellator.begin(3).colorize(colorR, colorG, colorB, a); + Tessellator.begin(2).colorize(colorR, colorG, colorB, a); Tessellator.pos(x + w, y + h, z + w); Tessellator.pos(x + w, y + h, z); @@ -182,7 +182,7 @@ let ret = { GlStateManager[m.pushMatrix]() - Tessellator.begin(3).colorize(colorR, colorG, colorB, a); + Tessellator.begin(2).colorize(colorR, colorG, colorB, a); Tessellator.pos(x + w, y + h, z + w); Tessellator.pos(x + w, y + h, z); @@ -233,7 +233,7 @@ let ret = { GlStateManager.func_179094_E(); - Tessellator.begin(3).colorize(colorR, colorG, colorB); + Tessellator.begin(2).colorize(colorR, colorG, colorB); Tessellator.pos(x + width, y + height, z + width); Tessellator.pos(x + width, y + height, z - width); |