CARVIEW |
Select Language
HTTP/2 200
date: Mon, 13 Oct 2025 18:42:33 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=d27b570894f6da1a6ccb640f10ae4a9d07c6b9071c22222645834b405a9beba4a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22w5zYluuMqIreg-uZ8VpTA7Ehdwcedv78%22%3B%7D; HttpOnly; Path=/
cf-ray: 98e0fa3b49a08087-BLR
package net.foxycorndog.presto3d.graphics;import static org.lwjgl.opengl.GL1 - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.foxycorndog.presto3d.graphics;
- import static org.lwjgl.opengl.GL11.*;
- public class PrestoGL
- {
- public static void drawCube(float x, float y, float z, int size)
- {
- glBegin(GL_QUADS);
- // Front face
- glNormal3f(0 , 0 , 1 );
- glVertex3f(x , y , z );
- glVertex3f(x + size, y , z );
- glVertex3f(x + size, y + size, z );
- glVertex3f(x , y + size, z );
- // Back face
- glNormal3f(0 , 0 , -1 );
- glVertex3f(x , y , z - size);
- glVertex3f(x , y + size, z - size);
- glVertex3f(x + size, y + size, z - size);
- glVertex3f(x + size, y , z - size);
- // Bottom face
- glNormal3f(0 , 1 , 0 );
- glVertex3f(x , y , z - size);
- glVertex3f(x + size, y , z - size);
- glVertex3f(x + size, y , z );
- glVertex3f(x , y , z );
- // Top face
- glNormal3f(0 , -1 , 0 );
- glVertex3f(x , y + size, z - size);
- glVertex3f(x , y + size, z );
- glVertex3f(x + size, y + size, z );
- glVertex3f(x + size, y + size, z - size);
- // Left face
- glNormal3f(-1 , 0 , 0 );
- glVertex3f(x , y , z );
- glVertex3f(x , y + size, z );
- glVertex3f(x , y + size, z - size);
- glVertex3f(x , y , z - size);
- // Right face
- glNormal3f(1 , 0 , 0 );
- glVertex3f(x + size, y , z );
- glVertex3f(x + size, y , z - size);
- glVertex3f(x + size, y + size, z - size);
- glVertex3f(x + size, y + size, z );
- glEnd();
- }
- public static float[] getCubeArray(float x, float y, float z, int size)
- {
- float array[] = null;
- array = new float[6 * 4];
- array = new float[]
- {
- // Front side
- x , y , z,
- x + size, y , z,
- x + size, y + size, z,
- x , y + size, z,
- // Back side
- x , y , z - size,
- x , y + size, z - size,
- x + size, y + size, z - size,
- x + size, y , z - size,
- // Bottom face
- x , y , z - size,
- x + size, y , z - size,
- x + size, y , z,
- x , y , z,
- // Top face
- x , y + size, z - size,
- x , y + size, z,
- x + size, y + size, z,
- x + size, y + size, z - size,
- // Left face
- x , y , z,
- x , y + size, z,
- x , y + size, z - size,
- x , y , z - size
- };
- return array;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐⭐⭐Make $1500 in 20 minutes⭐⭐
Java | 3 sec ago | 0.15 KB
-
🚀 Swapzone +37% glitch
JavaScript | 6 sec ago | 0.24 KB
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ H
JavaScript | 8 sec ago | 0.25 KB
-
🚨 Free Crypto Method 🚨
JavaScript | 16 sec ago | 0.24 KB
-
📝 EASY MONEY GUIDE ✅ Working R
JavaScript | 18 sec ago | 0.25 KB
-
💡 Instant BTC Profit Method ✅ Working
JavaScript | 25 sec ago | 0.24 KB
-
📌 Instant BTC Profit Method ✅ Working E
JavaScript | 26 sec ago | 0.25 KB
-
✅ Make $2500 in 20 minutes⭐ X
JavaScript | 33 sec ago | 0.25 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand