2.5d

Moteur de jeu Java: Les murs raycastés sont creux, cassés et ressemblent à de la matière fécale

je suis d'essayer d'écrire un raycasting moteur. J'ai étudié le tutoriel trouvé à http://www.instructables.com/id/Making-a- ... // obliqueDist -= Math.sqrt(xcomp*xcomp + stepY*stepY); //} return obliqueDist; } }

Java Game Engine: le pareti Raycasted sono vuote, rotte e sembrano materia fecale

Sto tentando di scrivere un motore raycasting. Ho studiato il tutorial trovato su http://www.instructables.com/id/Making-a ... // obliqueDist -= Math.sqrt(xcomp*xcomp + stepY*stepY); //} return obliqueDist; } }