+ 1

Why is there a Error (js)

There are errors? https://code.sololearn.com/WCn3GBcpDb5G/?ref=app Even though I found no mistakes It's a 3D renderer equations were from Matt bat new 3D renderer by Redstone video minecraft so I thought building it for web so We can know create 3D to 9D games without slicing

23rd Oct 2022, 11:57 AM
heaker Gamer
1 Odpowiedź
0
It seems that your code runs into an infinite loop when asking for the first and second x y z coordinates. Firstly, I'm a little confused as to why you need two different x y and z values; Please correct me if there's something I don't see/understand here, but I believe there would only need to be 1 set of coordinates for the code to function. In case you DO need two separate values/checks for coordinates though, try making them separate variables (example: have the first check be for variables called "x1", "y1", and "z1", and the second check likewise, but with a 2 instead of a 1). I haven't looked too much into the code yet, but I can later. If you could clarify a bit more what each piece of does, that'd really help out as well!
27th Oct 2022, 7:01 PM
8-Bit Kitsune
8-Bit Kitsune - avatar