@@ -0,0 +1,450 @@
+package com.saois.nengine.graphics;%0A%0Apublic class Render3D extends Render%7B%0A%0A%09public Render3D(int width, int height) %7B%0A%09%09super(width, height);%0A%09%7D%0A%09%0A%09public void border() %7B%0A%09%09for (int y = 0; y %3C height; y++) %7B%0A%09%09%09double yDepth = y - height /2.4;%0A%09%09%09double z = 100.0 / yDepth;%0A%09%09%09%0A%09%09%09for (int x = 0; x %3C width; x++) %7B%0A%09%09%09%09double Depth = x - width / 2;%0A%09%09%09%09Depth *= z;%0A%09%09%09%09int xx = (int) (Depth) & 5;%0A%09%09%09%09pixels%5Bx + y * width%5D = xx * 128;%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Insert by RedTelko